@teambit/component 1.0.514 → 1.0.515

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.component/component@1.0.514" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/component@1.0.515" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see teambit_component_component-preview.js.LICENSE.txt */
2
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/component-preview"]=t():e["teambit.component/component-preview"]=t()}(self,(()=>(()=>{var e={4390:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},5711:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}}},8220:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION_DELIMITER=void 0;const u=a(n(524)),s=i(n(1417)),c=i(n(9109)),l=n(8251),f=n(3309),p=a(n(7730)),h=a(n(8435)),d=n(3466);t.VERSION_DELIMITER="@";class v{constructor({scope:e,box:t,name:n,version:r}){if(!n)throw new d.InvalidName(n);this.scope=e||null,this.box=void 0,this.name=t?`${t}/${n}`:n,this.version=r||void 0,Object.freeze(this)}clone(){return new v(this)}changeScope(e){return new v({scope:e,name:this.name,version:this.version})}changeVersion(e){return new v({scope:this.scope,name:this.name,version:e})}isLocal(e){return!this.scope||Boolean(e&&e===this.scope)}getVersion(){return(0,f.versionParser)(this.version)}hasVersion(){return Boolean(this.version&&this.version!==f.LATEST_VERSION)}hasScope(){return Boolean(this.scope)}hasSameName(e){return this.name===e.name}hasSameScope(e){return this.hasScope()&&e.hasScope()?this.scope===e.scope:!this.hasScope()&&!e.hasScope()}hasSameVersion(e){return this.hasVersion()&&e.hasVersion()?this.version===e.version:!this.hasVersion()&&!e.hasVersion()}toString(e=!1,n=!1){const{name:r,version:o}=this,i=this.scope,a=e||!i?r:[i,r].join("/");return n||!this.hasVersion()?a:a.concat(`${t.VERSION_DELIMITER}${o}`)}toStringWithoutScope(){return this.toString(!0)}toStringWithoutVersion(){return this.toString(!1,!0)}toStringWithoutScopeAndVersion(){return this.toString(!0,!0)}isEqual(e){return this.hasSameName(e)&&this.hasSameScope(e)&&this.hasSameVersion(e)}isEqualWithoutVersion(e){return this.hasSameName(e)&&this.hasSameScope(e)}isEqualWithoutScopeAndVersion(e){return this.hasSameName(e)}serialize(){const e={scope:this.scope,name:this.name,version:this.version};return this.hasVersion()||delete e.version,this.hasScope()||delete e.scope,e}toFullPath(){if(!this.scope||!this.version)throw new Error("BitId.toFullPath is unable to generate a path without a scope or a version");return s.join(this.name,this.scope,this.version)}isVersionSnap(){return(0,f.isHash)(this.version)}getVersionPreReleaseData(){return this.version?c.prerelease(this.version):null}static getStringWithoutVersion(e){const n=e.split(t.VERSION_DELIMITER);let r=n[0];return e.startsWith(t.VERSION_DELIMITER)&&(r=`${t.VERSION_DELIMITER}${n[1]}`),r}static getVersionOnlyFromString(e){return e.split(t.VERSION_DELIMITER)[1]}static parse(e,n=!0,r=f.LATEST_VERSION){if("string"!=typeof e)throw new TypeError('BitId.parse expects to get "id" as a string, instead, got '+typeof e);if(e.includes(t.VERSION_DELIMITER)&&e.lastIndexOf(t.VERSION_DELIMITER)>0){const[n,o]=e.split(t.VERSION_DELIMITER);e=n,r=o}const{scope:o,name:i}=n?v.getScopeAndName(e):{scope:void 0,name:e};if(!(0,p.default)(i))throw new d.InvalidName(i);if(o&&!(0,h.default)(o))throw new d.InvalidScopeName(o,e);return new v({scope:o,name:i,version:r})}static getScopeAndName(e){const t=e.indexOf("/");if(t<0)throw new d.InvalidBitId(e);return{scope:e.substring(0,t),name:e.substring(t+1)}}static parseObsolete(e,n=f.LATEST_VERSION){if(e.includes(t.VERSION_DELIMITER)){const[r,o]=e.split(t.VERSION_DELIMITER);e=r,n=o}const r=e.split("/");if(3===r.length){const[e,t,o]=r;if(!(0,p.default)(o,!1)||!(0,p.default)(t,!1)||!(0,h.default)(e))throw new d.InvalidIdChunk(`${e}/${t}/${o}`);return new v({scope:e,box:t,name:o,version:n})}if(2===r.length){const[e,t]=r;if(!(0,p.default)(t,!1)||!(0,p.default)(e,!1))throw new d.InvalidIdChunk(`${e}/${t}`);return new v({box:e,name:t,version:n})}if(1===r.length){const[e]=r;if(!(0,p.default)(e))throw new d.InvalidIdChunk(e);return new v({name:e,version:n})}throw new d.InvalidBitId(e)}static parseBackwardCompatible(e){return"string"==typeof e?v.parseObsolete(e):new v(e)}static getValidScopeName(e){let t=e.toLowerCase().split("").map((e=>/^[$\-_!.a-z0-9]+$/.test(e)?e:"")).join("");const n=t.split(".");if(n.length>1&&(t=`${(0,l.head)(n)}.${(0,l.tail)(n).join("")}`),!t)throw new Error("scope name created by directory name have to contains at least one character or number");return t}static getValidIdChunk(e){return(0,p.default)(e)||(e=(e=e.replace(/\./g,"")).replace(/ /g,"-"),e=(0,u.default)(e,"-")),e}static getValidBitId(e,t){return new v({name:v.getValidIdChunk(t),box:e?v.getValidIdChunk(e):void 0})}static isValidVersion(e){return v.isValidSemver(e)||(0,f.isHash)(e)}static isValidSemver(e){return Boolean(c.valid(e))}}t.default=v},3466:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidScopeName=t.InvalidName=t.InvalidIdChunk=t.InvalidBitId=void 0;const o=r(n(2125));t.InvalidBitId=o.default;const i=r(n(3403));t.InvalidIdChunk=i.default;const a=r(n(7521));t.InvalidName=a.default;const u=r(n(2730));t.InvalidScopeName=u.default},2125:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8410);class o extends r.BitError{constructor(e){super(`error: component ID "${e}" is invalid, please use the following format: [scope]/<name>`)}}t.default=o},3403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8410);class o extends r.BitError{constructor(e){super(`error: "${e}" is invalid, component IDs can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}t.default=o},7521:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8410);class o extends r.BitError{constructor(e){super(`error: "${e}" is invalid, component names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!", "/"]`)}}t.default=o},2730:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8410);class o extends r.BitError{constructor(e,t,n){super(`error: "${t||e}" ${n?`configured in variant "${n}" `:""}is invalid, component scope names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}t.default=o},824:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidScopeName=t.InvalidName=t.isValidScopeName=t.VERSION_DELIMITER=t.BitId=void 0;const u=i(n(8220));t.BitId=u.default,Object.defineProperty(t,"VERSION_DELIMITER",{enumerable:!0,get:function(){return u.VERSION_DELIMITER}});const s=n(3466);Object.defineProperty(t,"InvalidName",{enumerable:!0,get:function(){return s.InvalidName}}),Object.defineProperty(t,"InvalidScopeName",{enumerable:!0,get:function(){return s.InvalidScopeName}});const c=a(n(8435));t.isValidScopeName=c.default},7730:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=/^[-_a-z0-9/]+$/,r=/^[-_a-z0-9]+$/;t.default=function(e,t=!0){return"string"==typeof e&&!e.includes("//")&&(t?n:r).test(e)}},8435:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=/^[$\-_!a-z0-9]+[.]?[$\-_!a-z0-9]+$/;t.default=function(e){return"string"==typeof e&&n.test(e)}},8443:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===i)for(var u in n)r.call(n,u)&&n[u]&&e.push(u)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},9685:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var u in n)r.call(n,u)&&n[u]&&e.push(u);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},524:e=>{"use strict";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("Expected a string");return t=void 0===t?"_":t,e.replace(/([a-z\d])([A-Z])/g,"$1"+t+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+t+"$2").toLowerCase()}},8552:()=>{!function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof HTMLElement){var e=!1;try{var t=document.createElement("div");t.addEventListener("focus",(function(e){e.preventDefault(),e.stopPropagation()}),!0),t.focus(Object.defineProperty({},"preventScroll",{get:function(){e=!0}}))}catch(e){}void 0!==HTMLElement.prototype.nativeFocus||e||(HTMLElement.prototype.nativeFocus=HTMLElement.prototype.focus,HTMLElement.prototype.focus=function(e){var t=window.scrollY||window.pageYOffset;this.nativeFocus(),e&&e.preventScroll&&setTimeout((function(){window.scroll(window.scrollX||window.pageXOffset,t)}),0)})}}()},8251:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",u="__lodash_placeholder__",s=32,c=128,l=1/0,f=9007199254740991,p=NaN,h=4294967295,d=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",s],["partialRight",64],["rearg",256]],v="[object Arguments]",m="[object Array]",g="[object Boolean]",_="[object Date]",y="[object Error]",b="[object Function]",w="[object GeneratorFunction]",E="[object Map]",x="[object Number]",O="[object Object]",I="[object Promise]",S="[object RegExp]",N="[object Set]",R="[object String]",A="[object Symbol]",j="[object WeakMap]",T="[object ArrayBuffer]",$="[object DataView]",L="[object Float32Array]",P="[object Float64Array]",C="[object Int8Array]",M="[object Int16Array]",k="[object Int32Array]",D="[object Uint8Array]",z="[object Uint8ClampedArray]",V="[object Uint16Array]",B="[object Uint32Array]",F=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,U=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,H=RegExp(W.source),q=RegExp(X.source),Z=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,oe=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,se=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,le=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,he=/^[-+]0x[0-9a-f]+$/i,de=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ge=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ye=/($^)/,be=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",Ee="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\u2700-\\u27bf",Oe="a-z\\xdf-\\xf6\\xf8-\\xff",Ie="A-Z\\xc0-\\xd6\\xd8-\\xde",Se="\\ufe0e\\ufe0f",Ne="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Re="["+we+"]",Ae="["+Ne+"]",je="["+Ee+"]",Te="\\d+",$e="["+xe+"]",Le="["+Oe+"]",Pe="[^"+we+Ne+Te+xe+Oe+Ie+"]",Ce="\\ud83c[\\udffb-\\udfff]",Me="[^"+we+"]",ke="(?:\\ud83c[\\udde6-\\uddff]){2}",De="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Ie+"]",Ve="\\u200d",Be="(?:"+Le+"|"+Pe+")",Fe="(?:"+ze+"|"+Pe+")",Ge="(?:['’](?:d|ll|m|re|s|t|ve))?",Ue="(?:['’](?:D|LL|M|RE|S|T|VE))?",We="(?:"+je+"|"+Ce+")?",Xe="["+Se+"]?",He=Xe+We+"(?:"+Ve+"(?:"+[Me,ke,De].join("|")+")"+Xe+We+")*",qe="(?:"+[$e,ke,De].join("|")+")"+He,Ze="(?:"+[Me+je+"?",je,ke,De,Re].join("|")+")",Ye=RegExp("['’]","g"),Ke=RegExp(je,"g"),Je=RegExp(Ce+"(?="+Ce+")|"+Ze+He,"g"),Qe=RegExp([ze+"?"+Le+"+"+Ge+"(?="+[Ae,ze,"$"].join("|")+")",Fe+"+"+Ue+"(?="+[Ae,ze+Be,"$"].join("|")+")",ze+"?"+Be+"+"+Ge,ze+"+"+Ue,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Te,qe].join("|"),"g"),et=RegExp("["+Ve+we+Ee+Se+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,ot={};ot[L]=ot[P]=ot[C]=ot[M]=ot[k]=ot[D]=ot[z]=ot[V]=ot[B]=!0,ot[v]=ot[m]=ot[T]=ot[g]=ot[$]=ot[_]=ot[y]=ot[b]=ot[E]=ot[x]=ot[O]=ot[S]=ot[N]=ot[R]=ot[j]=!1;var it={};it[v]=it[m]=it[T]=it[$]=it[g]=it[_]=it[L]=it[P]=it[C]=it[M]=it[k]=it[E]=it[x]=it[O]=it[S]=it[N]=it[R]=it[A]=it[D]=it[z]=it[V]=it[B]=!0,it[y]=it[b]=it[j]=!1;var at={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,st=parseInt,ct="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,lt="object"==typeof self&&self&&self.Object===Object&&self,ft=ct||lt||Function("return this")(),pt=t&&!t.nodeType&&t,ht=pt&&e&&!e.nodeType&&e,dt=ht&&ht.exports===pt,vt=dt&&ct.process,mt=function(){try{return ht&&ht.require&&ht.require("util").types||vt&&vt.binding&&vt.binding("util")}catch(e){}}(),gt=mt&&mt.isArrayBuffer,_t=mt&&mt.isDate,yt=mt&&mt.isMap,bt=mt&&mt.isRegExp,wt=mt&&mt.isSet,Et=mt&&mt.isTypedArray;function xt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ot(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function It(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function St(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Nt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Rt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function At(e,t){return!(null==e||!e.length)&&zt(e,t,0)>-1}function jt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Tt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function $t(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Lt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Pt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Mt=Gt("length");function kt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Dt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function zt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Dt(e,Bt,n)}function Vt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Bt(e){return e!=e}function Ft(e,t){var n=null==e?0:e.length;return n?Xt(e,t)/n:p}function Gt(e){return function(t){return null==t?o:t[e]}}function Ut(e){return function(t){return null==e?o:e[t]}}function Wt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Xt(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function Ht(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function qt(e){return e?e.slice(0,pn(e)+1).replace(re,""):e}function Zt(e){return function(t){return e(t)}}function Yt(e,t){return Tt(t,(function(t){return e[t]}))}function Kt(e,t){return e.has(t)}function Jt(e,t){for(var n=-1,r=e.length;++n<r&&zt(t,e[n],0)>-1;);return n}function Qt(e,t){for(var n=e.length;n--&&zt(t,e[n],0)>-1;);return n}var en=Ut({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tn=Ut({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function nn(e){return"\\"+at[e]}function rn(e){return et.test(e)}function on(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function an(e,t){return function(n){return e(t(n))}}function un(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==u||(e[n]=u,i[o++]=n)}return i}function sn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function ln(e){return rn(e)?function(e){for(var t=Je.lastIndex=0;Je.test(e);)++t;return t}(e):Mt(e)}function fn(e){return rn(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.split("")}(e)}function pn(e){for(var t=e.length;t--&&oe.test(e.charAt(t)););return t}var hn=Ut({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),dn=function e(t){var n,r=(t=null==t?ft:dn.defaults(ft.Object(),t,dn.pick(ft,nt))).Array,oe=t.Date,we=t.Error,Ee=t.Function,xe=t.Math,Oe=t.Object,Ie=t.RegExp,Se=t.String,Ne=t.TypeError,Re=r.prototype,Ae=Ee.prototype,je=Oe.prototype,Te=t["__core-js_shared__"],$e=Ae.toString,Le=je.hasOwnProperty,Pe=0,Ce=(n=/[^.]+$/.exec(Te&&Te.keys&&Te.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Me=je.toString,ke=$e.call(Oe),De=ft._,ze=Ie("^"+$e.call(Le).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=dt?t.Buffer:o,Be=t.Symbol,Fe=t.Uint8Array,Ge=Ve?Ve.allocUnsafe:o,Ue=an(Oe.getPrototypeOf,Oe),We=Oe.create,Xe=je.propertyIsEnumerable,He=Re.splice,qe=Be?Be.isConcatSpreadable:o,Ze=Be?Be.iterator:o,Je=Be?Be.toStringTag:o,et=function(){try{var e=ci(Oe,"defineProperty");return e({},"",{}),e}catch(e){}}(),at=t.clearTimeout!==ft.clearTimeout&&t.clearTimeout,ct=oe&&oe.now!==ft.Date.now&&oe.now,lt=t.setTimeout!==ft.setTimeout&&t.setTimeout,pt=xe.ceil,ht=xe.floor,vt=Oe.getOwnPropertySymbols,mt=Ve?Ve.isBuffer:o,Mt=t.isFinite,Ut=Re.join,vn=an(Oe.keys,Oe),mn=xe.max,gn=xe.min,_n=oe.now,yn=t.parseInt,bn=xe.random,wn=Re.reverse,En=ci(t,"DataView"),xn=ci(t,"Map"),On=ci(t,"Promise"),In=ci(t,"Set"),Sn=ci(t,"WeakMap"),Nn=ci(Oe,"create"),Rn=Sn&&new Sn,An={},jn=ki(En),Tn=ki(xn),$n=ki(On),Ln=ki(In),Pn=ki(Sn),Cn=Be?Be.prototype:o,Mn=Cn?Cn.valueOf:o,kn=Cn?Cn.toString:o;function Dn(e){if(eu(e)&&!Ga(e)&&!(e instanceof Fn)){if(e instanceof Bn)return e;if(Le.call(e,"__wrapped__"))return Di(e)}return new Bn(e)}var zn=function(){function e(){}return function(t){if(!Qa(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Vn(){}function Bn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Fn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Wn;++t<n;)this.add(e[t])}function Hn(e){var t=this.__data__=new Un(e);this.size=t.size}function qn(e,t){var n=Ga(e),r=!n&&Fa(e),o=!n&&!r&&Ha(e),i=!n&&!r&&!o&&su(e),a=n||r||o||i,u=a?Ht(e.length,Se):[],s=u.length;for(var c in e)!t&&!Le.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||mi(c,s))||u.push(c);return u}function Zn(e){var t=e.length;return t?e[Wr(0,t-1)]:o}function Yn(e,t){return $i(No(e),ir(t,0,e.length))}function Kn(e){return $i(No(e))}function Jn(e,t,n){(n!==o&&!za(e[t],n)||n===o&&!(t in e))&&rr(e,t,n)}function Qn(e,t,n){var r=e[t];Le.call(e,t)&&za(r,n)&&(n!==o||t in e)||rr(e,t,n)}function er(e,t){for(var n=e.length;n--;)if(za(e[n][0],t))return n;return-1}function tr(e,t,n,r){return lr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function nr(e,t){return e&&Ro(t,ju(t),e)}function rr(e,t,n){"__proto__"==t&&et?et(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function or(e,t){for(var n=-1,i=t.length,a=r(i),u=null==e;++n<i;)a[n]=u?o:Iu(e,t[n]);return a}function ir(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function ar(e,t,n,r,i,a){var u,s=1&t,c=2&t,l=4&t;if(n&&(u=i?n(e,r,i,a):n(e)),u!==o)return u;if(!Qa(e))return e;var f=Ga(e);if(f){if(u=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!s)return No(e,u)}else{var p=pi(e),h=p==b||p==w;if(Ha(e))return wo(e,s);if(p==O||p==v||h&&!i){if(u=c||h?{}:di(e),!s)return c?function(e,t){return Ro(e,fi(e),t)}(e,function(e,t){return e&&Ro(t,Tu(t),e)}(u,e)):function(e,t){return Ro(e,li(e),t)}(e,nr(u,e))}else{if(!it[p])return i?e:{};u=function(e,t,n){var r,o=e.constructor;switch(t){case T:return Eo(e);case g:case _:return new o(+e);case $:return function(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case P:case C:case M:case k:case D:case z:case V:case B:return xo(e,n);case E:return new o;case x:case R:return new o(e);case S:return function(e){var t=new e.constructor(e.source,pe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case N:return new o;case A:return r=e,Mn?Oe(Mn.call(r)):{}}}(e,p,s)}}a||(a=new Hn);var d=a.get(e);if(d)return d;a.set(e,u),iu(e)?e.forEach((function(r){u.add(ar(r,t,n,r,e,a))})):tu(e)&&e.forEach((function(r,o){u.set(o,ar(r,t,n,o,e,a))}));var m=f?o:(l?c?ni:ti:c?Tu:ju)(e);return It(m||e,(function(r,o){m&&(r=e[o=r]),Qn(u,o,ar(r,t,n,o,e,a))})),u}function ur(e,t,n){var r=n.length;if(null==e)return!r;for(e=Oe(e);r--;){var i=n[r],a=t[i],u=e[i];if(u===o&&!(i in e)||!a(u))return!1}return!0}function sr(e,t,n){if("function"!=typeof e)throw new Ne(i);return Ri((function(){e.apply(o,n)}),t)}function cr(e,t,n,r){var o=-1,i=At,a=!0,u=e.length,s=[],c=t.length;if(!u)return s;n&&(t=Tt(t,Zt(n))),r?(i=jt,a=!1):t.length>=200&&(i=Kt,a=!1,t=new Xn(t));e:for(;++o<u;){var l=e[o],f=null==n?l:n(l);if(l=r||0!==l?l:0,a&&f==f){for(var p=c;p--;)if(t[p]===f)continue e;s.push(l)}else i(t,f,r)||s.push(l)}return s}Dn.templateSettings={escape:Z,evaluate:Y,interpolate:K,variable:"",imports:{_:Dn}},Dn.prototype=Vn.prototype,Dn.prototype.constructor=Dn,Bn.prototype=zn(Vn.prototype),Bn.prototype.constructor=Bn,Fn.prototype=zn(Vn.prototype),Fn.prototype.constructor=Fn,Gn.prototype.clear=function(){this.__data__=Nn?Nn(null):{},this.size=0},Gn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Gn.prototype.get=function(e){var t=this.__data__;if(Nn){var n=t[e];return n===a?o:n}return Le.call(t,e)?t[e]:o},Gn.prototype.has=function(e){var t=this.__data__;return Nn?t[e]!==o:Le.call(t,e)},Gn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Nn&&t===o?a:t,this},Un.prototype.clear=function(){this.__data__=[],this.size=0},Un.prototype.delete=function(e){var t=this.__data__,n=er(t,e);return!(n<0||(n==t.length-1?t.pop():He.call(t,n,1),--this.size,0))},Un.prototype.get=function(e){var t=this.__data__,n=er(t,e);return n<0?o:t[n][1]},Un.prototype.has=function(e){return er(this.__data__,e)>-1},Un.prototype.set=function(e,t){var n=this.__data__,r=er(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Wn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(xn||Un),string:new Gn}},Wn.prototype.delete=function(e){var t=ui(this,e).delete(e);return this.size-=t?1:0,t},Wn.prototype.get=function(e){return ui(this,e).get(e)},Wn.prototype.has=function(e){return ui(this,e).has(e)},Wn.prototype.set=function(e,t){var n=ui(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(e){return this.__data__.set(e,a),this},Xn.prototype.has=function(e){return this.__data__.has(e)},Hn.prototype.clear=function(){this.__data__=new Un,this.size=0},Hn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Hn.prototype.get=function(e){return this.__data__.get(e)},Hn.prototype.has=function(e){return this.__data__.has(e)},Hn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Un){var r=n.__data__;if(!xn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Wn(r)}return n.set(e,t),this.size=n.size,this};var lr=To(_r),fr=To(yr,!0);function pr(e,t){var n=!0;return lr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function hr(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],u=t(a);if(null!=u&&(s===o?u==u&&!uu(u):n(u,s)))var s=u,c=a}return c}function dr(e,t){var n=[];return lr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function vr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=vi),o||(o=[]);++i<a;){var u=e[i];t>0&&n(u)?t>1?vr(u,t-1,n,r,o):$t(o,u):r||(o[o.length]=u)}return o}var mr=$o(),gr=$o(!0);function _r(e,t){return e&&mr(e,t,ju)}function yr(e,t){return e&&gr(e,t,ju)}function br(e,t){return Rt(t,(function(t){return Ya(e[t])}))}function wr(e,t){for(var n=0,r=(t=go(t,e)).length;null!=e&&n<r;)e=e[Mi(t[n++])];return n&&n==r?e:o}function Er(e,t,n){var r=t(e);return Ga(e)?r:$t(r,n(e))}function xr(e){return null==e?e===o?"[object Undefined]":"[object Null]":Je&&Je in Oe(e)?function(e){var t=Le.call(e,Je),n=e[Je];try{e[Je]=o;var r=!0}catch(e){}var i=Me.call(e);return r&&(t?e[Je]=n:delete e[Je]),i}(e):function(e){return Me.call(e)}(e)}function Or(e,t){return e>t}function Ir(e,t){return null!=e&&Le.call(e,t)}function Sr(e,t){return null!=e&&t in Oe(e)}function Nr(e,t,n){for(var i=n?jt:At,a=e[0].length,u=e.length,s=u,c=r(u),l=1/0,f=[];s--;){var p=e[s];s&&t&&(p=Tt(p,Zt(t))),l=gn(p.length,l),c[s]=!n&&(t||a>=120&&p.length>=120)?new Xn(s&&p):o}p=e[0];var h=-1,d=c[0];e:for(;++h<a&&f.length<l;){var v=p[h],m=t?t(v):v;if(v=n||0!==v?v:0,!(d?Kt(d,m):i(f,m,n))){for(s=u;--s;){var g=c[s];if(!(g?Kt(g,m):i(e[s],m,n)))continue e}d&&d.push(m),f.push(v)}}return f}function Rr(e,t,n){var r=null==(e=Ii(e,t=go(t,e)))?e:e[Mi(Zi(t))];return null==r?o:xt(r,e,n)}function Ar(e){return eu(e)&&xr(e)==v}function jr(e,t,n,r,i){return e===t||(null==e||null==t||!eu(e)&&!eu(t)?e!=e&&t!=t:function(e,t,n,r,i,a){var u=Ga(e),s=Ga(t),c=u?m:pi(e),l=s?m:pi(t),f=(c=c==v?O:c)==O,p=(l=l==v?O:l)==O,h=c==l;if(h&&Ha(e)){if(!Ha(t))return!1;u=!0,f=!1}if(h&&!f)return a||(a=new Hn),u||su(e)?Qo(e,t,n,r,i,a):function(e,t,n,r,o,i,a){switch(n){case $:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case T:return!(e.byteLength!=t.byteLength||!i(new Fe(e),new Fe(t)));case g:case _:case x:return za(+e,+t);case y:return e.name==t.name&&e.message==t.message;case S:case R:return e==t+"";case E:var u=on;case N:var s=1&r;if(u||(u=sn),e.size!=t.size&&!s)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var l=Qo(u(e),u(t),r,o,i,a);return a.delete(e),l;case A:if(Mn)return Mn.call(e)==Mn.call(t)}return!1}(e,t,c,n,r,i,a);if(!(1&n)){var d=f&&Le.call(e,"__wrapped__"),b=p&&Le.call(t,"__wrapped__");if(d||b){var w=d?e.value():e,I=b?t.value():t;return a||(a=new Hn),i(w,I,n,r,a)}}return!!h&&(a||(a=new Hn),function(e,t,n,r,i,a){var u=1&n,s=ti(e),c=s.length;if(c!=ti(t).length&&!u)return!1;for(var l=c;l--;){var f=s[l];if(!(u?f in t:Le.call(t,f)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var d=!0;a.set(e,t),a.set(t,e);for(var v=u;++l<c;){var m=e[f=s[l]],g=t[f];if(r)var _=u?r(g,m,f,t,e,a):r(m,g,f,e,t,a);if(!(_===o?m===g||i(m,g,n,r,a):_)){d=!1;break}v||(v="constructor"==f)}if(d&&!v){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(d=!1)}return a.delete(e),a.delete(t),d}(e,t,n,r,i,a))}(e,t,n,r,jr,i))}function Tr(e,t,n,r){var i=n.length,a=i,u=!r;if(null==e)return!a;for(e=Oe(e);i--;){var s=n[i];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){var c=(s=n[i])[0],l=e[c],f=s[1];if(u&&s[2]){if(l===o&&!(c in e))return!1}else{var p=new Hn;if(r)var h=r(l,f,c,e,t,p);if(!(h===o?jr(f,l,3,r,p):h))return!1}}return!0}function $r(e){return!(!Qa(e)||(t=e,Ce&&Ce in t))&&(Ya(e)?ze:ve).test(ki(e));var t}function Lr(e){return"function"==typeof e?e:null==e?ns:"object"==typeof e?Ga(e)?Dr(e[0],e[1]):kr(e):fs(e)}function Pr(e){if(!wi(e))return vn(e);var t=[];for(var n in Oe(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Cr(e,t){return e<t}function Mr(e,t){var n=-1,o=Wa(e)?r(e.length):[];return lr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function kr(e){var t=si(e);return 1==t.length&&t[0][2]?xi(t[0][0],t[0][1]):function(n){return n===e||Tr(n,e,t)}}function Dr(e,t){return _i(e)&&Ei(t)?xi(Mi(e),t):function(n){var r=Iu(n,e);return r===o&&r===t?Su(n,e):jr(t,r,3)}}function zr(e,t,n,r,i){e!==t&&mr(t,(function(a,u){if(i||(i=new Hn),Qa(a))!function(e,t,n,r,i,a,u){var s=Si(e,n),c=Si(t,n),l=u.get(c);if(l)Jn(e,n,l);else{var f=a?a(s,c,n+"",e,t,u):o,p=f===o;if(p){var h=Ga(c),d=!h&&Ha(c),v=!h&&!d&&su(c);f=c,h||d||v?Ga(s)?f=s:Xa(s)?f=No(s):d?(p=!1,f=wo(c,!0)):v?(p=!1,f=xo(c,!0)):f=[]:ru(c)||Fa(c)?(f=s,Fa(s)?f=mu(s):Qa(s)&&!Ya(s)||(f=di(c))):p=!1}p&&(u.set(c,f),i(f,c,r,a,u),u.delete(c)),Jn(e,n,f)}}(e,t,u,n,zr,r,i);else{var s=r?r(Si(e,u),a,u+"",e,t,i):o;s===o&&(s=a),Jn(e,u,s)}}),Tu)}function Vr(e,t){var n=e.length;if(n)return mi(t+=t<0?n:0,n)?e[t]:o}function Br(e,t,n){t=t.length?Tt(t,(function(e){return Ga(e)?function(t){return wr(t,1===e.length?e[0]:e)}:e})):[ns];var r=-1;t=Tt(t,Zt(ai()));var o=Mr(e,(function(e,n,o){var i=Tt(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e){var t=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,u=n.length;++r<a;){var s=Oo(o[r],i[r]);if(s)return r>=u?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));t--;)e[t]=e[t].value;return e}(o)}function Fr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],u=wr(e,a);n(u,a)&&Yr(i,go(a,e),u)}return i}function Gr(e,t,n,r){var o=r?Vt:zt,i=-1,a=t.length,u=e;for(e===t&&(t=No(t)),n&&(u=Tt(e,Zt(n)));++i<a;)for(var s=0,c=t[i],l=n?n(c):c;(s=o(u,l,s,r))>-1;)u!==e&&He.call(u,s,1),He.call(e,s,1);return e}function Ur(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;mi(o)?He.call(e,o,1):so(e,o)}}return e}function Wr(e,t){return e+ht(bn()*(t-e+1))}function Xr(e,t){var n="";if(!e||t<1||t>f)return n;do{t%2&&(n+=e),(t=ht(t/2))&&(e+=e)}while(t);return n}function Hr(e,t){return Ai(Oi(e,t,ns),e+"")}function qr(e){return Zn(zu(e))}function Zr(e,t){var n=zu(e);return $i(n,ir(t,0,n.length))}function Yr(e,t,n,r){if(!Qa(e))return e;for(var i=-1,a=(t=go(t,e)).length,u=a-1,s=e;null!=s&&++i<a;){var c=Mi(t[i]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=u){var f=s[c];(l=r?r(f,c,s):o)===o&&(l=Qa(f)?f:mi(t[i+1])?[]:{})}Qn(s,c,l),s=s[c]}return e}var Kr=Rn?function(e,t){return Rn.set(e,t),e}:ns,Jr=et?function(e,t){return et(e,"toString",{configurable:!0,enumerable:!1,value:Qu(t),writable:!0})}:ns;function Qr(e){return $i(zu(e))}function eo(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function to(e,t){var n;return lr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function no(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!uu(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return ro(e,t,ns,n)}function ro(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var u=(t=n(t))!=t,s=null===t,c=uu(t),l=t===o;i<a;){var f=ht((i+a)/2),p=n(e[f]),h=p!==o,d=null===p,v=p==p,m=uu(p);if(u)var g=r||v;else g=l?v&&(r||h):s?v&&h&&(r||!d):c?v&&h&&!d&&(r||!m):!d&&!m&&(r?p<=t:p<t);g?i=f+1:a=f}return gn(a,4294967294)}function oo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],u=t?t(a):a;if(!n||!za(u,s)){var s=u;i[o++]=0===a?0:a}}return i}function io(e){return"number"==typeof e?e:uu(e)?p:+e}function ao(e){if("string"==typeof e)return e;if(Ga(e))return Tt(e,ao)+"";if(uu(e))return kn?kn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function uo(e,t,n){var r=-1,o=At,i=e.length,a=!0,u=[],s=u;if(n)a=!1,o=jt;else if(i>=200){var c=t?null:Ho(e);if(c)return sn(c);a=!1,o=Kt,s=new Xn}else s=t?[]:u;e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,a&&f==f){for(var p=s.length;p--;)if(s[p]===f)continue e;t&&s.push(f),u.push(l)}else o(s,f,n)||(s!==u&&s.push(f),u.push(l))}return u}function so(e,t){return null==(e=Ii(e,t=go(t,e)))||delete e[Mi(Zi(t))]}function co(e,t,n,r){return Yr(e,t,n(wr(e,t)),r)}function lo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?eo(e,r?0:i,r?i+1:o):eo(e,r?i+1:0,r?o:i)}function fo(e,t){var n=e;return n instanceof Fn&&(n=n.value()),Lt(t,(function(e,t){return t.func.apply(t.thisArg,$t([e],t.args))}),n)}function po(e,t,n){var o=e.length;if(o<2)return o?uo(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var u=e[i],s=-1;++s<o;)s!=i&&(a[i]=cr(a[i]||u,e[s],t,n));return uo(vr(a,1),t,n)}function ho(e,t,n){for(var r=-1,i=e.length,a=t.length,u={};++r<i;){var s=r<a?t[r]:o;n(u,e[r],s)}return u}function vo(e){return Xa(e)?e:[]}function mo(e){return"function"==typeof e?e:ns}function go(e,t){return Ga(e)?e:_i(e,t)?[e]:Ci(gu(e))}var _o=Hr;function yo(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:eo(e,t,n)}var bo=at||function(e){return ft.clearTimeout(e)};function wo(e,t){if(t)return e.slice();var n=e.length,r=Ge?Ge(n):new e.constructor(n);return e.copy(r),r}function Eo(e){var t=new e.constructor(e.byteLength);return new Fe(t).set(new Fe(e)),t}function xo(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Oo(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=uu(e),u=t!==o,s=null===t,c=t==t,l=uu(t);if(!s&&!l&&!a&&e>t||a&&u&&c&&!s&&!l||r&&u&&c||!n&&c||!i)return 1;if(!r&&!a&&!l&&e<t||l&&n&&i&&!r&&!a||s&&n&&i||!u&&i||!c)return-1}return 0}function Io(e,t,n,o){for(var i=-1,a=e.length,u=n.length,s=-1,c=t.length,l=mn(a-u,0),f=r(c+l),p=!o;++s<c;)f[s]=t[s];for(;++i<u;)(p||i<a)&&(f[n[i]]=e[i]);for(;l--;)f[s++]=e[i++];return f}function So(e,t,n,o){for(var i=-1,a=e.length,u=-1,s=n.length,c=-1,l=t.length,f=mn(a-s,0),p=r(f+l),h=!o;++i<f;)p[i]=e[i];for(var d=i;++c<l;)p[d+c]=t[c];for(;++u<s;)(h||i<a)&&(p[d+n[u]]=e[i++]);return p}function No(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function Ro(e,t,n,r){var i=!n;n||(n={});for(var a=-1,u=t.length;++a<u;){var s=t[a],c=r?r(n[s],e[s],s,n,e):o;c===o&&(c=e[s]),i?rr(n,s,c):Qn(n,s,c)}return n}function Ao(e,t){return function(n,r){var o=Ga(n)?Ot:tr,i=t?t():{};return o(n,e,ai(r,2),i)}}function jo(e){return Hr((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,u=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,u&&gi(n[0],n[1],u)&&(a=i<3?o:a,i=1),t=Oe(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t}))}function To(e,t){return function(n,r){if(null==n)return n;if(!Wa(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Oe(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function $o(e){return function(t,n,r){for(var o=-1,i=Oe(t),a=r(t),u=a.length;u--;){var s=a[e?u:++o];if(!1===n(i[s],s,i))break}return t}}function Lo(e){return function(t){var n=rn(t=gu(t))?fn(t):o,r=n?n[0]:t.charAt(0),i=n?yo(n,1).join(""):t.slice(1);return r[e]()+i}}function Po(e){return function(t){return Lt(Yu(Fu(t).replace(Ye,"")),e,"")}}function Co(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=zn(e.prototype),r=e.apply(n,t);return Qa(r)?r:n}}function Mo(e){return function(t,n,r){var i=Oe(t);if(!Wa(t)){var a=ai(n,3);t=ju(t),n=function(e){return a(i[e],e,i)}}var u=e(t,n,r);return u>-1?i[a?t[u]:u]:o}}function ko(e){return ei((function(t){var n=t.length,r=n,a=Bn.prototype.thru;for(e&&t.reverse();r--;){var u=t[r];if("function"!=typeof u)throw new Ne(i);if(a&&!s&&"wrapper"==oi(u))var s=new Bn([],!0)}for(r=s?r:n;++r<n;){var c=oi(u=t[r]),l="wrapper"==c?ri(u):o;s=l&&yi(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?s[oi(l[0])].apply(s,l[3]):1==u.length&&yi(u)?s[c]():s.thru(u)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&Ga(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Do(e,t,n,i,a,u,s,l,f,p){var h=t&c,d=1&t,v=2&t,m=24&t,g=512&t,_=v?o:Co(e);return function c(){for(var y=arguments.length,b=r(y),w=y;w--;)b[w]=arguments[w];if(m)var E=ii(c),x=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,E);if(i&&(b=Io(b,i,a,m)),u&&(b=So(b,u,s,m)),y-=x,m&&y<p){var O=un(b,E);return Wo(e,t,Do,c.placeholder,n,b,O,l,f,p-y)}var I=d?n:this,S=v?I[e]:e;return y=b.length,l?b=function(e,t){for(var n=e.length,r=gn(t.length,n),i=No(e);r--;){var a=t[r];e[r]=mi(a,n)?i[a]:o}return e}(b,l):g&&y>1&&b.reverse(),h&&f<y&&(b.length=f),this&&this!==ft&&this instanceof c&&(S=_||Co(S)),S.apply(I,b)}}function zo(e,t){return function(n,r){return function(e,t,n,r){return _r(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Vo(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=ao(n),r=ao(r)):(n=io(n),r=io(r)),i=e(n,r)}return i}}function Bo(e){return ei((function(t){return t=Tt(t,Zt(ai())),Hr((function(n){var r=this;return e(t,(function(e){return xt(e,r,n)}))}))}))}function Fo(e,t){var n=(t=t===o?" ":ao(t)).length;if(n<2)return n?Xr(t,e):t;var r=Xr(t,pt(e/ln(t)));return rn(t)?yo(fn(r),0,e).join(""):r.slice(0,e)}function Go(e){return function(t,n,i){return i&&"number"!=typeof i&&gi(t,n,i)&&(n=i=o),t=pu(t),n===o?(n=t,t=0):n=pu(n),function(e,t,n,o){for(var i=-1,a=mn(pt((t-e)/(n||1)),0),u=r(a);a--;)u[o?a:++i]=e,e+=n;return u}(t,n,i=i===o?t<n?1:-1:pu(i),e)}}function Uo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=vu(t),n=vu(n)),e(t,n)}}function Wo(e,t,n,r,i,a,u,c,l,f){var p=8&t;t|=p?s:64,4&(t&=~(p?64:s))||(t&=-4);var h=[e,t,i,p?a:o,p?u:o,p?o:a,p?o:u,c,l,f],d=n.apply(o,h);return yi(e)&&Ni(d,h),d.placeholder=r,ji(d,e,t)}function Xo(e){var t=xe[e];return function(e,n){if(e=vu(e),(n=null==n?0:gn(hu(n),292))&&Mt(e)){var r=(gu(e)+"e").split("e");return+((r=(gu(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Ho=In&&1/sn(new In([,-0]))[1]==l?function(e){return new In(e)}:us;function qo(e){return function(t){var n=pi(t);return n==E?on(t):n==N?cn(t):function(e,t){return Tt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Zo(e,t,n,a,l,f,p,h){var d=2&t;if(!d&&"function"!=typeof e)throw new Ne(i);var v=a?a.length:0;if(v||(t&=-97,a=l=o),p=p===o?p:mn(hu(p),0),h=h===o?h:hu(h),v-=l?l.length:0,64&t){var m=a,g=l;a=l=o}var _=d?o:ri(e),y=[e,t,n,a,l,m,g,f,p,h];if(_&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=r==c&&8==n||r==c&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var s=t[3];if(s){var l=e[3];e[3]=l?Io(l,s,t[4]):s,e[4]=l?un(e[3],u):t[4]}(s=t[5])&&(l=e[5],e[5]=l?So(l,s,t[6]):s,e[6]=l?un(e[5],u):t[6]),(s=t[7])&&(e[7]=s),r&c&&(e[8]=null==e[8]?t[8]:gn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(y,_),e=y[0],t=y[1],n=y[2],a=y[3],l=y[4],!(h=y[9]=y[9]===o?d?0:e.length:mn(y[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(e,t,n){var i=Co(e);return function a(){for(var u=arguments.length,s=r(u),c=u,l=ii(a);c--;)s[c]=arguments[c];var f=u<3&&s[0]!==l&&s[u-1]!==l?[]:un(s,l);return(u-=f.length)<n?Wo(e,t,Do,a.placeholder,o,s,f,o,o,n-u):xt(this&&this!==ft&&this instanceof a?i:e,this,s)}}(e,t,h):t!=s&&33!=t||l.length?Do.apply(o,y):function(e,t,n,o){var i=1&t,a=Co(e);return function t(){for(var u=-1,s=arguments.length,c=-1,l=o.length,f=r(l+s),p=this&&this!==ft&&this instanceof t?a:e;++c<l;)f[c]=o[c];for(;s--;)f[c++]=arguments[++u];return xt(p,i?n:this,f)}}(e,t,n,a);else var b=function(e,t,n){var r=1&t,o=Co(e);return function t(){return(this&&this!==ft&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return ji((_?Kr:Ni)(b,y),e,t)}function Yo(e,t,n,r){return e===o||za(e,je[n])&&!Le.call(r,n)?t:e}function Ko(e,t,n,r,i,a){return Qa(e)&&Qa(t)&&(a.set(t,e),zr(e,t,o,Ko,a),a.delete(t)),e}function Jo(e){return ru(e)?o:e}function Qo(e,t,n,r,i,a){var u=1&n,s=e.length,c=t.length;if(s!=c&&!(u&&c>s))return!1;var l=a.get(e),f=a.get(t);if(l&&f)return l==t&&f==e;var p=-1,h=!0,d=2&n?new Xn:o;for(a.set(e,t),a.set(t,e);++p<s;){var v=e[p],m=t[p];if(r)var g=u?r(m,v,p,t,e,a):r(v,m,p,e,t,a);if(g!==o){if(g)continue;h=!1;break}if(d){if(!Ct(t,(function(e,t){if(!Kt(d,t)&&(v===e||i(v,e,n,r,a)))return d.push(t)}))){h=!1;break}}else if(v!==m&&!i(v,m,n,r,a)){h=!1;break}}return a.delete(e),a.delete(t),h}function ei(e){return Ai(Oi(e,o,Ui),e+"")}function ti(e){return Er(e,ju,li)}function ni(e){return Er(e,Tu,fi)}var ri=Rn?function(e){return Rn.get(e)}:us;function oi(e){for(var t=e.name+"",n=An[t],r=Le.call(An,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ii(e){return(Le.call(Dn,"placeholder")?Dn:e).placeholder}function ai(){var e=Dn.iteratee||rs;return e=e===rs?Lr:e,arguments.length?e(arguments[0],arguments[1]):e}function ui(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function si(e){for(var t=ju(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ei(o)]}return t}function ci(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return $r(n)?n:o}var li=vt?function(e){return null==e?[]:(e=Oe(e),Rt(vt(e),(function(t){return Xe.call(e,t)})))}:ds,fi=vt?function(e){for(var t=[];e;)$t(t,li(e)),e=Ue(e);return t}:ds,pi=xr;function hi(e,t,n){for(var r=-1,o=(t=go(t,e)).length,i=!1;++r<o;){var a=Mi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Ja(o)&&mi(a,o)&&(Ga(e)||Fa(e))}function di(e){return"function"!=typeof e.constructor||wi(e)?{}:zn(Ue(e))}function vi(e){return Ga(e)||Fa(e)||!!(qe&&e&&e[qe])}function mi(e,t){var n=typeof e;return!!(t=null==t?f:t)&&("number"==n||"symbol"!=n&&ge.test(e))&&e>-1&&e%1==0&&e<t}function gi(e,t,n){if(!Qa(n))return!1;var r=typeof t;return!!("number"==r?Wa(n)&&mi(t,n.length):"string"==r&&t in n)&&za(n[t],e)}function _i(e,t){if(Ga(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!uu(e))||Q.test(e)||!J.test(e)||null!=t&&e in Oe(t)}function yi(e){var t=oi(e),n=Dn[t];if("function"!=typeof n||!(t in Fn.prototype))return!1;if(e===n)return!0;var r=ri(n);return!!r&&e===r[0]}(En&&pi(new En(new ArrayBuffer(1)))!=$||xn&&pi(new xn)!=E||On&&pi(On.resolve())!=I||In&&pi(new In)!=N||Sn&&pi(new Sn)!=j)&&(pi=function(e){var t=xr(e),n=t==O?e.constructor:o,r=n?ki(n):"";if(r)switch(r){case jn:return $;case Tn:return E;case $n:return I;case Ln:return N;case Pn:return j}return t});var bi=Te?Ya:vs;function wi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||je)}function Ei(e){return e==e&&!Qa(e)}function xi(e,t){return function(n){return null!=n&&n[e]===t&&(t!==o||e in Oe(n))}}function Oi(e,t,n){return t=mn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=mn(o.length-t,0),u=r(a);++i<a;)u[i]=o[t+i];i=-1;for(var s=r(t+1);++i<t;)s[i]=o[i];return s[t]=n(u),xt(e,this,s)}}function Ii(e,t){return t.length<2?e:wr(e,eo(t,0,-1))}function Si(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ni=Ti(Kr),Ri=lt||function(e,t){return ft.setTimeout(e,t)},Ai=Ti(Jr);function ji(e,t,n){var r=t+"";return Ai(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ie,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return It(d,(function(n){var r="_."+n[0];t&n[1]&&!At(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(ue):[]}(r),n)))}function Ti(e){var t=0,n=0;return function(){var r=_n(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function $i(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=Wr(n,i),u=e[a];e[a]=e[n],e[n]=u}return e.length=t,e}var Li,Pi,Ci=(Li=La((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,n,r,o){t.push(r?o.replace(le,"$1"):n||e)})),t}),(function(e){return 500===Pi.size&&Pi.clear(),e})),Pi=Li.cache,Li);function Mi(e){if("string"==typeof e||uu(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ki(e){if(null!=e){try{return $e.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Di(e){if(e instanceof Fn)return e.clone();var t=new Bn(e.__wrapped__,e.__chain__);return t.__actions__=No(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var zi=Hr((function(e,t){return Xa(e)?cr(e,vr(t,1,Xa,!0)):[]})),Vi=Hr((function(e,t){var n=Zi(t);return Xa(n)&&(n=o),Xa(e)?cr(e,vr(t,1,Xa,!0),ai(n,2)):[]})),Bi=Hr((function(e,t){var n=Zi(t);return Xa(n)&&(n=o),Xa(e)?cr(e,vr(t,1,Xa,!0),o,n):[]}));function Fi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:hu(n);return o<0&&(o=mn(r+o,0)),Dt(e,ai(t,3),o)}function Gi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=hu(n),i=n<0?mn(r+i,0):gn(i,r-1)),Dt(e,ai(t,3),i,!0)}function Ui(e){return null!=e&&e.length?vr(e,1):[]}function Wi(e){return e&&e.length?e[0]:o}var Xi=Hr((function(e){var t=Tt(e,vo);return t.length&&t[0]===e[0]?Nr(t):[]})),Hi=Hr((function(e){var t=Zi(e),n=Tt(e,vo);return t===Zi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Nr(n,ai(t,2)):[]})),qi=Hr((function(e){var t=Zi(e),n=Tt(e,vo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Nr(n,o,t):[]}));function Zi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Yi=Hr(Ki);function Ki(e,t){return e&&e.length&&t&&t.length?Gr(e,t):e}var Ji=ei((function(e,t){var n=null==e?0:e.length,r=or(e,t);return Ur(e,Tt(t,(function(e){return mi(e,n)?+e:e})).sort(Oo)),r}));function Qi(e){return null==e?e:wn.call(e)}var ea=Hr((function(e){return uo(vr(e,1,Xa,!0))})),ta=Hr((function(e){var t=Zi(e);return Xa(t)&&(t=o),uo(vr(e,1,Xa,!0),ai(t,2))})),na=Hr((function(e){var t=Zi(e);return t="function"==typeof t?t:o,uo(vr(e,1,Xa,!0),o,t)}));function ra(e){if(!e||!e.length)return[];var t=0;return e=Rt(e,(function(e){if(Xa(e))return t=mn(e.length,t),!0})),Ht(t,(function(t){return Tt(e,Gt(t))}))}function oa(e,t){if(!e||!e.length)return[];var n=ra(e);return null==t?n:Tt(n,(function(e){return xt(t,o,e)}))}var ia=Hr((function(e,t){return Xa(e)?cr(e,t):[]})),aa=Hr((function(e){return po(Rt(e,Xa))})),ua=Hr((function(e){var t=Zi(e);return Xa(t)&&(t=o),po(Rt(e,Xa),ai(t,2))})),sa=Hr((function(e){var t=Zi(e);return t="function"==typeof t?t:o,po(Rt(e,Xa),o,t)})),ca=Hr(ra),la=Hr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,oa(e,n)}));function fa(e){var t=Dn(e);return t.__chain__=!0,t}function pa(e,t){return t(e)}var ha=ei((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return or(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Fn&&mi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:pa,args:[i],thisArg:o}),new Bn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)})),da=Ao((function(e,t,n){Le.call(e,n)?++e[n]:rr(e,n,1)})),va=Mo(Fi),ma=Mo(Gi);function ga(e,t){return(Ga(e)?It:lr)(e,ai(t,3))}function _a(e,t){return(Ga(e)?St:fr)(e,ai(t,3))}var ya=Ao((function(e,t,n){Le.call(e,n)?e[n].push(t):rr(e,n,[t])})),ba=Hr((function(e,t,n){var o=-1,i="function"==typeof t,a=Wa(e)?r(e.length):[];return lr(e,(function(e){a[++o]=i?xt(t,e,n):Rr(e,t,n)})),a})),wa=Ao((function(e,t,n){rr(e,n,t)}));function Ea(e,t){return(Ga(e)?Tt:Mr)(e,ai(t,3))}var xa=Ao((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Oa=Hr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&gi(e,t[0],t[1])?t=[]:n>2&&gi(t[0],t[1],t[2])&&(t=[t[0]]),Br(e,vr(t,1),[])})),Ia=ct||function(){return ft.Date.now()};function Sa(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Zo(e,c,o,o,o,o,t)}function Na(e,t){var n;if("function"!=typeof t)throw new Ne(i);return e=hu(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ra=Hr((function(e,t,n){var r=1;if(n.length){var o=un(n,ii(Ra));r|=s}return Zo(e,r,t,n,o)})),Aa=Hr((function(e,t,n){var r=3;if(n.length){var o=un(n,ii(Aa));r|=s}return Zo(t,r,e,n,o)}));function ja(e,t,n){var r,a,u,s,c,l,f=0,p=!1,h=!1,d=!0;if("function"!=typeof e)throw new Ne(i);function v(t){var n=r,i=a;return r=a=o,f=t,s=e.apply(i,n)}function m(e){var n=e-l;return l===o||n>=t||n<0||h&&e-f>=u}function g(){var e=Ia();if(m(e))return _(e);c=Ri(g,function(e){var n=t-(e-l);return h?gn(n,u-(e-f)):n}(e))}function _(e){return c=o,d&&r?v(e):(r=a=o,s)}function y(){var e=Ia(),n=m(e);if(r=arguments,a=this,l=e,n){if(c===o)return function(e){return f=e,c=Ri(g,t),p?v(e):s}(l);if(h)return bo(c),c=Ri(g,t),v(l)}return c===o&&(c=Ri(g,t)),s}return t=vu(t)||0,Qa(n)&&(p=!!n.leading,u=(h="maxWait"in n)?mn(vu(n.maxWait)||0,t):u,d="trailing"in n?!!n.trailing:d),y.cancel=function(){c!==o&&bo(c),f=0,r=l=a=c=o},y.flush=function(){return c===o?s:_(Ia())},y}var Ta=Hr((function(e,t){return sr(e,1,t)})),$a=Hr((function(e,t,n){return sr(e,vu(t)||0,n)}));function La(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ne(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(La.Cache||Wn),n}function Pa(e){if("function"!=typeof e)throw new Ne(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}La.Cache=Wn;var Ca=_o((function(e,t){var n=(t=1==t.length&&Ga(t[0])?Tt(t[0],Zt(ai())):Tt(vr(t,1),Zt(ai()))).length;return Hr((function(r){for(var o=-1,i=gn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return xt(e,this,r)}))})),Ma=Hr((function(e,t){var n=un(t,ii(Ma));return Zo(e,s,o,t,n)})),ka=Hr((function(e,t){var n=un(t,ii(ka));return Zo(e,64,o,t,n)})),Da=ei((function(e,t){return Zo(e,256,o,o,o,t)}));function za(e,t){return e===t||e!=e&&t!=t}var Va=Uo(Or),Ba=Uo((function(e,t){return e>=t})),Fa=Ar(function(){return arguments}())?Ar:function(e){return eu(e)&&Le.call(e,"callee")&&!Xe.call(e,"callee")},Ga=r.isArray,Ua=gt?Zt(gt):function(e){return eu(e)&&xr(e)==T};function Wa(e){return null!=e&&Ja(e.length)&&!Ya(e)}function Xa(e){return eu(e)&&Wa(e)}var Ha=mt||vs,qa=_t?Zt(_t):function(e){return eu(e)&&xr(e)==_};function Za(e){if(!eu(e))return!1;var t=xr(e);return t==y||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ru(e)}function Ya(e){if(!Qa(e))return!1;var t=xr(e);return t==b||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ka(e){return"number"==typeof e&&e==hu(e)}function Ja(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function Qa(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eu(e){return null!=e&&"object"==typeof e}var tu=yt?Zt(yt):function(e){return eu(e)&&pi(e)==E};function nu(e){return"number"==typeof e||eu(e)&&xr(e)==x}function ru(e){if(!eu(e)||xr(e)!=O)return!1;var t=Ue(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&$e.call(n)==ke}var ou=bt?Zt(bt):function(e){return eu(e)&&xr(e)==S},iu=wt?Zt(wt):function(e){return eu(e)&&pi(e)==N};function au(e){return"string"==typeof e||!Ga(e)&&eu(e)&&xr(e)==R}function uu(e){return"symbol"==typeof e||eu(e)&&xr(e)==A}var su=Et?Zt(Et):function(e){return eu(e)&&Ja(e.length)&&!!ot[xr(e)]},cu=Uo(Cr),lu=Uo((function(e,t){return e<=t}));function fu(e){if(!e)return[];if(Wa(e))return au(e)?fn(e):No(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=pi(e);return(t==E?on:t==N?sn:zu)(e)}function pu(e){return e?(e=vu(e))===l||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function hu(e){var t=pu(e),n=t%1;return t==t?n?t-n:t:0}function du(e){return e?ir(hu(e),0,h):0}function vu(e){if("number"==typeof e)return e;if(uu(e))return p;if(Qa(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qa(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=qt(e);var n=de.test(e);return n||me.test(e)?st(e.slice(2),n?2:8):he.test(e)?p:+e}function mu(e){return Ro(e,Tu(e))}function gu(e){return null==e?"":ao(e)}var _u=jo((function(e,t){if(wi(t)||Wa(t))Ro(t,ju(t),e);else for(var n in t)Le.call(t,n)&&Qn(e,n,t[n])})),yu=jo((function(e,t){Ro(t,Tu(t),e)})),bu=jo((function(e,t,n,r){Ro(t,Tu(t),e,r)})),wu=jo((function(e,t,n,r){Ro(t,ju(t),e,r)})),Eu=ei(or),xu=Hr((function(e,t){e=Oe(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&gi(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],u=Tu(a),s=-1,c=u.length;++s<c;){var l=u[s],f=e[l];(f===o||za(f,je[l])&&!Le.call(e,l))&&(e[l]=a[l])}return e})),Ou=Hr((function(e){return e.push(o,Ko),xt(Lu,o,e)}));function Iu(e,t,n){var r=null==e?o:wr(e,t);return r===o?n:r}function Su(e,t){return null!=e&&hi(e,t,Sr)}var Nu=zo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Me.call(t)),e[t]=n}),Qu(ns)),Ru=zo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Me.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]}),ai),Au=Hr(Rr);function ju(e){return Wa(e)?qn(e):Pr(e)}function Tu(e){return Wa(e)?qn(e,!0):function(e){if(!Qa(e))return function(e){var t=[];if(null!=e)for(var n in Oe(e))t.push(n);return t}(e);var t=wi(e),n=[];for(var r in e)("constructor"!=r||!t&&Le.call(e,r))&&n.push(r);return n}(e)}var $u=jo((function(e,t,n){zr(e,t,n)})),Lu=jo((function(e,t,n,r){zr(e,t,n,r)})),Pu=ei((function(e,t){var n={};if(null==e)return n;var r=!1;t=Tt(t,(function(t){return t=go(t,e),r||(r=t.length>1),t})),Ro(e,ni(e),n),r&&(n=ar(n,7,Jo));for(var o=t.length;o--;)so(n,t[o]);return n})),Cu=ei((function(e,t){return null==e?{}:function(e,t){return Fr(e,t,(function(t,n){return Su(e,n)}))}(e,t)}));function Mu(e,t){if(null==e)return{};var n=Tt(ni(e),(function(e){return[e]}));return t=ai(t),Fr(e,n,(function(e,n){return t(e,n[0])}))}var ku=qo(ju),Du=qo(Tu);function zu(e){return null==e?[]:Yt(e,ju(e))}var Vu=Po((function(e,t,n){return t=t.toLowerCase(),e+(n?Bu(t):t)}));function Bu(e){return Zu(gu(e).toLowerCase())}function Fu(e){return(e=gu(e))&&e.replace(_e,en).replace(Ke,"")}var Gu=Po((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Uu=Po((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Wu=Lo("toLowerCase"),Xu=Po((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Hu=Po((function(e,t,n){return e+(n?" ":"")+Zu(t)})),qu=Po((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Zu=Lo("toUpperCase");function Yu(e,t,n){return e=gu(e),(t=n?o:t)===o?function(e){return tt.test(e)}(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.match(se)||[]}(e):e.match(t)||[]}var Ku=Hr((function(e,t){try{return xt(e,o,t)}catch(e){return Za(e)?e:new we(e)}})),Ju=ei((function(e,t){return It(t,(function(t){t=Mi(t),rr(e,t,Ra(e[t],e))})),e}));function Qu(e){return function(){return e}}var es=ko(),ts=ko(!0);function ns(e){return e}function rs(e){return Lr("function"==typeof e?e:ar(e,1))}var os=Hr((function(e,t){return function(n){return Rr(n,e,t)}})),is=Hr((function(e,t){return function(n){return Rr(e,n,t)}}));function as(e,t,n){var r=ju(t),o=br(t,r);null!=n||Qa(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=br(t,ju(t)));var i=!(Qa(n)&&"chain"in n&&!n.chain),a=Ya(e);return It(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=No(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,$t([this.value()],arguments))})})),e}function us(){}var ss=Bo(Tt),cs=Bo(Nt),ls=Bo(Ct);function fs(e){return _i(e)?Gt(Mi(e)):function(e){return function(t){return wr(t,e)}}(e)}var ps=Go(),hs=Go(!0);function ds(){return[]}function vs(){return!1}var ms,gs=Vo((function(e,t){return e+t}),0),_s=Xo("ceil"),ys=Vo((function(e,t){return e/t}),1),bs=Xo("floor"),ws=Vo((function(e,t){return e*t}),1),Es=Xo("round"),xs=Vo((function(e,t){return e-t}),0);return Dn.after=function(e,t){if("function"!=typeof t)throw new Ne(i);return e=hu(e),function(){if(--e<1)return t.apply(this,arguments)}},Dn.ary=Sa,Dn.assign=_u,Dn.assignIn=yu,Dn.assignInWith=bu,Dn.assignWith=wu,Dn.at=Eu,Dn.before=Na,Dn.bind=Ra,Dn.bindAll=Ju,Dn.bindKey=Aa,Dn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},Dn.chain=fa,Dn.chunk=function(e,t,n){t=(n?gi(e,t,n):t===o)?1:mn(hu(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,u=0,s=r(pt(i/t));a<i;)s[u++]=eo(e,a,a+=t);return s},Dn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Dn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return $t(Ga(n)?No(n):[n],vr(t,1))},Dn.cond=function(e){var t=null==e?0:e.length,n=ai();return e=t?Tt(e,(function(e){if("function"!=typeof e[1])throw new Ne(i);return[n(e[0]),e[1]]})):[],Hr((function(n){for(var r=-1;++r<t;){var o=e[r];if(xt(o[0],this,n))return xt(o[1],this,n)}}))},Dn.conforms=function(e){return function(e){var t=ju(e);return function(n){return ur(n,e,t)}}(ar(e,1))},Dn.constant=Qu,Dn.countBy=da,Dn.create=function(e,t){var n=zn(e);return null==t?n:nr(n,t)},Dn.curry=function e(t,n,r){var i=Zo(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Dn.curryRight=function e(t,n,r){var i=Zo(t,16,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Dn.debounce=ja,Dn.defaults=xu,Dn.defaultsDeep=Ou,Dn.defer=Ta,Dn.delay=$a,Dn.difference=zi,Dn.differenceBy=Vi,Dn.differenceWith=Bi,Dn.drop=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,(t=n||t===o?1:hu(t))<0?0:t,r):[]},Dn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,0,(t=r-(t=n||t===o?1:hu(t)))<0?0:t):[]},Dn.dropRightWhile=function(e,t){return e&&e.length?lo(e,ai(t,3),!0,!0):[]},Dn.dropWhile=function(e,t){return e&&e.length?lo(e,ai(t,3),!0):[]},Dn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&gi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=hu(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:hu(r))<0&&(r+=i),r=n>r?0:du(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Dn.filter=function(e,t){return(Ga(e)?Rt:dr)(e,ai(t,3))},Dn.flatMap=function(e,t){return vr(Ea(e,t),1)},Dn.flatMapDeep=function(e,t){return vr(Ea(e,t),l)},Dn.flatMapDepth=function(e,t,n){return n=n===o?1:hu(n),vr(Ea(e,t),n)},Dn.flatten=Ui,Dn.flattenDeep=function(e){return null!=e&&e.length?vr(e,l):[]},Dn.flattenDepth=function(e,t){return null!=e&&e.length?vr(e,t=t===o?1:hu(t)):[]},Dn.flip=function(e){return Zo(e,512)},Dn.flow=es,Dn.flowRight=ts,Dn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Dn.functions=function(e){return null==e?[]:br(e,ju(e))},Dn.functionsIn=function(e){return null==e?[]:br(e,Tu(e))},Dn.groupBy=ya,Dn.initial=function(e){return null!=e&&e.length?eo(e,0,-1):[]},Dn.intersection=Xi,Dn.intersectionBy=Hi,Dn.intersectionWith=qi,Dn.invert=Nu,Dn.invertBy=Ru,Dn.invokeMap=ba,Dn.iteratee=rs,Dn.keyBy=wa,Dn.keys=ju,Dn.keysIn=Tu,Dn.map=Ea,Dn.mapKeys=function(e,t){var n={};return t=ai(t,3),_r(e,(function(e,r,o){rr(n,t(e,r,o),e)})),n},Dn.mapValues=function(e,t){var n={};return t=ai(t,3),_r(e,(function(e,r,o){rr(n,r,t(e,r,o))})),n},Dn.matches=function(e){return kr(ar(e,1))},Dn.matchesProperty=function(e,t){return Dr(e,ar(t,1))},Dn.memoize=La,Dn.merge=$u,Dn.mergeWith=Lu,Dn.method=os,Dn.methodOf=is,Dn.mixin=as,Dn.negate=Pa,Dn.nthArg=function(e){return e=hu(e),Hr((function(t){return Vr(t,e)}))},Dn.omit=Pu,Dn.omitBy=function(e,t){return Mu(e,Pa(ai(t)))},Dn.once=function(e){return Na(2,e)},Dn.orderBy=function(e,t,n,r){return null==e?[]:(Ga(t)||(t=null==t?[]:[t]),Ga(n=r?o:n)||(n=null==n?[]:[n]),Br(e,t,n))},Dn.over=ss,Dn.overArgs=Ca,Dn.overEvery=cs,Dn.overSome=ls,Dn.partial=Ma,Dn.partialRight=ka,Dn.partition=xa,Dn.pick=Cu,Dn.pickBy=Mu,Dn.property=fs,Dn.propertyOf=function(e){return function(t){return null==e?o:wr(e,t)}},Dn.pull=Yi,Dn.pullAll=Ki,Dn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,ai(n,2)):e},Dn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,o,n):e},Dn.pullAt=Ji,Dn.range=ps,Dn.rangeRight=hs,Dn.rearg=Da,Dn.reject=function(e,t){return(Ga(e)?Rt:dr)(e,Pa(ai(t,3)))},Dn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ai(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Ur(e,o),n},Dn.rest=function(e,t){if("function"!=typeof e)throw new Ne(i);return Hr(e,t=t===o?t:hu(t))},Dn.reverse=Qi,Dn.sampleSize=function(e,t,n){return t=(n?gi(e,t,n):t===o)?1:hu(t),(Ga(e)?Yn:Zr)(e,t)},Dn.set=function(e,t,n){return null==e?e:Yr(e,t,n)},Dn.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Yr(e,t,n,r)},Dn.shuffle=function(e){return(Ga(e)?Kn:Qr)(e)},Dn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&gi(e,t,n)?(t=0,n=r):(t=null==t?0:hu(t),n=n===o?r:hu(n)),eo(e,t,n)):[]},Dn.sortBy=Oa,Dn.sortedUniq=function(e){return e&&e.length?oo(e):[]},Dn.sortedUniqBy=function(e,t){return e&&e.length?oo(e,ai(t,2)):[]},Dn.split=function(e,t,n){return n&&"number"!=typeof n&&gi(e,t,n)&&(t=n=o),(n=n===o?h:n>>>0)?(e=gu(e))&&("string"==typeof t||null!=t&&!ou(t))&&!(t=ao(t))&&rn(e)?yo(fn(e),0,n):e.split(t,n):[]},Dn.spread=function(e,t){if("function"!=typeof e)throw new Ne(i);return t=null==t?0:mn(hu(t),0),Hr((function(n){var r=n[t],o=yo(n,0,t);return r&&$t(o,r),xt(e,this,o)}))},Dn.tail=function(e){var t=null==e?0:e.length;return t?eo(e,1,t):[]},Dn.take=function(e,t,n){return e&&e.length?eo(e,0,(t=n||t===o?1:hu(t))<0?0:t):[]},Dn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,(t=r-(t=n||t===o?1:hu(t)))<0?0:t,r):[]},Dn.takeRightWhile=function(e,t){return e&&e.length?lo(e,ai(t,3),!1,!0):[]},Dn.takeWhile=function(e,t){return e&&e.length?lo(e,ai(t,3)):[]},Dn.tap=function(e,t){return t(e),e},Dn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ne(i);return Qa(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ja(e,t,{leading:r,maxWait:t,trailing:o})},Dn.thru=pa,Dn.toArray=fu,Dn.toPairs=ku,Dn.toPairsIn=Du,Dn.toPath=function(e){return Ga(e)?Tt(e,Mi):uu(e)?[e]:No(Ci(gu(e)))},Dn.toPlainObject=mu,Dn.transform=function(e,t,n){var r=Ga(e),o=r||Ha(e)||su(e);if(t=ai(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Qa(e)&&Ya(i)?zn(Ue(e)):{}}return(o?It:_r)(e,(function(e,r,o){return t(n,e,r,o)})),n},Dn.unary=function(e){return Sa(e,1)},Dn.union=ea,Dn.unionBy=ta,Dn.unionWith=na,Dn.uniq=function(e){return e&&e.length?uo(e):[]},Dn.uniqBy=function(e,t){return e&&e.length?uo(e,ai(t,2)):[]},Dn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?uo(e,o,t):[]},Dn.unset=function(e,t){return null==e||so(e,t)},Dn.unzip=ra,Dn.unzipWith=oa,Dn.update=function(e,t,n){return null==e?e:co(e,t,mo(n))},Dn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:co(e,t,mo(n),r)},Dn.values=zu,Dn.valuesIn=function(e){return null==e?[]:Yt(e,Tu(e))},Dn.without=ia,Dn.words=Yu,Dn.wrap=function(e,t){return Ma(mo(t),e)},Dn.xor=aa,Dn.xorBy=ua,Dn.xorWith=sa,Dn.zip=ca,Dn.zipObject=function(e,t){return ho(e||[],t||[],Qn)},Dn.zipObjectDeep=function(e,t){return ho(e||[],t||[],Yr)},Dn.zipWith=la,Dn.entries=ku,Dn.entriesIn=Du,Dn.extend=yu,Dn.extendWith=bu,as(Dn,Dn),Dn.add=gs,Dn.attempt=Ku,Dn.camelCase=Vu,Dn.capitalize=Bu,Dn.ceil=_s,Dn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=vu(n))==n?n:0),t!==o&&(t=(t=vu(t))==t?t:0),ir(vu(e),t,n)},Dn.clone=function(e){return ar(e,4)},Dn.cloneDeep=function(e){return ar(e,5)},Dn.cloneDeepWith=function(e,t){return ar(e,5,t="function"==typeof t?t:o)},Dn.cloneWith=function(e,t){return ar(e,4,t="function"==typeof t?t:o)},Dn.conformsTo=function(e,t){return null==t||ur(e,t,ju(t))},Dn.deburr=Fu,Dn.defaultTo=function(e,t){return null==e||e!=e?t:e},Dn.divide=ys,Dn.endsWith=function(e,t,n){e=gu(e),t=ao(t);var r=e.length,i=n=n===o?r:ir(hu(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Dn.eq=za,Dn.escape=function(e){return(e=gu(e))&&q.test(e)?e.replace(X,tn):e},Dn.escapeRegExp=function(e){return(e=gu(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Dn.every=function(e,t,n){var r=Ga(e)?Nt:pr;return n&&gi(e,t,n)&&(t=o),r(e,ai(t,3))},Dn.find=va,Dn.findIndex=Fi,Dn.findKey=function(e,t){return kt(e,ai(t,3),_r)},Dn.findLast=ma,Dn.findLastIndex=Gi,Dn.findLastKey=function(e,t){return kt(e,ai(t,3),yr)},Dn.floor=bs,Dn.forEach=ga,Dn.forEachRight=_a,Dn.forIn=function(e,t){return null==e?e:mr(e,ai(t,3),Tu)},Dn.forInRight=function(e,t){return null==e?e:gr(e,ai(t,3),Tu)},Dn.forOwn=function(e,t){return e&&_r(e,ai(t,3))},Dn.forOwnRight=function(e,t){return e&&yr(e,ai(t,3))},Dn.get=Iu,Dn.gt=Va,Dn.gte=Ba,Dn.has=function(e,t){return null!=e&&hi(e,t,Ir)},Dn.hasIn=Su,Dn.head=Wi,Dn.identity=ns,Dn.includes=function(e,t,n,r){e=Wa(e)?e:zu(e),n=n&&!r?hu(n):0;var o=e.length;return n<0&&(n=mn(o+n,0)),au(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&zt(e,t,n)>-1},Dn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:hu(n);return o<0&&(o=mn(r+o,0)),zt(e,t,o)},Dn.inRange=function(e,t,n){return t=pu(t),n===o?(n=t,t=0):n=pu(n),function(e,t,n){return e>=gn(t,n)&&e<mn(t,n)}(e=vu(e),t,n)},Dn.invoke=Au,Dn.isArguments=Fa,Dn.isArray=Ga,Dn.isArrayBuffer=Ua,Dn.isArrayLike=Wa,Dn.isArrayLikeObject=Xa,Dn.isBoolean=function(e){return!0===e||!1===e||eu(e)&&xr(e)==g},Dn.isBuffer=Ha,Dn.isDate=qa,Dn.isElement=function(e){return eu(e)&&1===e.nodeType&&!ru(e)},Dn.isEmpty=function(e){if(null==e)return!0;if(Wa(e)&&(Ga(e)||"string"==typeof e||"function"==typeof e.splice||Ha(e)||su(e)||Fa(e)))return!e.length;var t=pi(e);if(t==E||t==N)return!e.size;if(wi(e))return!Pr(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Dn.isEqual=function(e,t){return jr(e,t)},Dn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?jr(e,t,o,n):!!r},Dn.isError=Za,Dn.isFinite=function(e){return"number"==typeof e&&Mt(e)},Dn.isFunction=Ya,Dn.isInteger=Ka,Dn.isLength=Ja,Dn.isMap=tu,Dn.isMatch=function(e,t){return e===t||Tr(e,t,si(t))},Dn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Tr(e,t,si(t),n)},Dn.isNaN=function(e){return nu(e)&&e!=+e},Dn.isNative=function(e){if(bi(e))throw new we("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return $r(e)},Dn.isNil=function(e){return null==e},Dn.isNull=function(e){return null===e},Dn.isNumber=nu,Dn.isObject=Qa,Dn.isObjectLike=eu,Dn.isPlainObject=ru,Dn.isRegExp=ou,Dn.isSafeInteger=function(e){return Ka(e)&&e>=-9007199254740991&&e<=f},Dn.isSet=iu,Dn.isString=au,Dn.isSymbol=uu,Dn.isTypedArray=su,Dn.isUndefined=function(e){return e===o},Dn.isWeakMap=function(e){return eu(e)&&pi(e)==j},Dn.isWeakSet=function(e){return eu(e)&&"[object WeakSet]"==xr(e)},Dn.join=function(e,t){return null==e?"":Ut.call(e,t)},Dn.kebabCase=Gu,Dn.last=Zi,Dn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=hu(n))<0?mn(r+i,0):gn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Dt(e,Bt,i,!0)},Dn.lowerCase=Uu,Dn.lowerFirst=Wu,Dn.lt=cu,Dn.lte=lu,Dn.max=function(e){return e&&e.length?hr(e,ns,Or):o},Dn.maxBy=function(e,t){return e&&e.length?hr(e,ai(t,2),Or):o},Dn.mean=function(e){return Ft(e,ns)},Dn.meanBy=function(e,t){return Ft(e,ai(t,2))},Dn.min=function(e){return e&&e.length?hr(e,ns,Cr):o},Dn.minBy=function(e,t){return e&&e.length?hr(e,ai(t,2),Cr):o},Dn.stubArray=ds,Dn.stubFalse=vs,Dn.stubObject=function(){return{}},Dn.stubString=function(){return""},Dn.stubTrue=function(){return!0},Dn.multiply=ws,Dn.nth=function(e,t){return e&&e.length?Vr(e,hu(t)):o},Dn.noConflict=function(){return ft._===this&&(ft._=De),this},Dn.noop=us,Dn.now=Ia,Dn.pad=function(e,t,n){e=gu(e);var r=(t=hu(t))?ln(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Fo(ht(o),n)+e+Fo(pt(o),n)},Dn.padEnd=function(e,t,n){e=gu(e);var r=(t=hu(t))?ln(e):0;return t&&r<t?e+Fo(t-r,n):e},Dn.padStart=function(e,t,n){e=gu(e);var r=(t=hu(t))?ln(e):0;return t&&r<t?Fo(t-r,n)+e:e},Dn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),yn(gu(e).replace(re,""),t||0)},Dn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&gi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=pu(e),t===o?(t=e,e=0):t=pu(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=bn();return gn(e+i*(t-e+ut("1e-"+((i+"").length-1))),t)}return Wr(e,t)},Dn.reduce=function(e,t,n){var r=Ga(e)?Lt:Wt,o=arguments.length<3;return r(e,ai(t,4),n,o,lr)},Dn.reduceRight=function(e,t,n){var r=Ga(e)?Pt:Wt,o=arguments.length<3;return r(e,ai(t,4),n,o,fr)},Dn.repeat=function(e,t,n){return t=(n?gi(e,t,n):t===o)?1:hu(t),Xr(gu(e),t)},Dn.replace=function(){var e=arguments,t=gu(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Dn.result=function(e,t,n){var r=-1,i=(t=go(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[Mi(t[r])];a===o&&(r=i,a=n),e=Ya(a)?a.call(e):a}return e},Dn.round=Es,Dn.runInContext=e,Dn.sample=function(e){return(Ga(e)?Zn:qr)(e)},Dn.size=function(e){if(null==e)return 0;if(Wa(e))return au(e)?ln(e):e.length;var t=pi(e);return t==E||t==N?e.size:Pr(e).length},Dn.snakeCase=Xu,Dn.some=function(e,t,n){var r=Ga(e)?Ct:to;return n&&gi(e,t,n)&&(t=o),r(e,ai(t,3))},Dn.sortedIndex=function(e,t){return no(e,t)},Dn.sortedIndexBy=function(e,t,n){return ro(e,t,ai(n,2))},Dn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=no(e,t);if(r<n&&za(e[r],t))return r}return-1},Dn.sortedLastIndex=function(e,t){return no(e,t,!0)},Dn.sortedLastIndexBy=function(e,t,n){return ro(e,t,ai(n,2),!0)},Dn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=no(e,t,!0)-1;if(za(e[n],t))return n}return-1},Dn.startCase=Hu,Dn.startsWith=function(e,t,n){return e=gu(e),n=null==n?0:ir(hu(n),0,e.length),t=ao(t),e.slice(n,n+t.length)==t},Dn.subtract=xs,Dn.sum=function(e){return e&&e.length?Xt(e,ns):0},Dn.sumBy=function(e,t){return e&&e.length?Xt(e,ai(t,2)):0},Dn.template=function(e,t,n){var r=Dn.templateSettings;n&&gi(e,t,n)&&(t=o),e=gu(e),t=bu({},t,r,Yo);var i,a,u=bu({},t.imports,r.imports,Yo),s=ju(u),c=Yt(u,s),l=0,f=t.interpolate||ye,p="__p += '",h=Ie((t.escape||ye).source+"|"+f.source+"|"+(f===K?fe:ye).source+"|"+(t.evaluate||ye).source+"|$","g"),d="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";e.replace(h,(function(t,n,r,o,u,s){return r||(r=o),p+=e.slice(l,s).replace(be,nn),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),u&&(a=!0,p+="';\n"+u+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+t.length,t})),p+="';\n";var v=Le.call(t,"variable")&&t.variable;if(v){if(ce.test(v))throw new we("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(F,""):p).replace(G,"$1").replace(U,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=Ku((function(){return Ee(s,d+"return "+p).apply(o,c)}));if(m.source=p,Za(m))throw m;return m},Dn.times=function(e,t){if((e=hu(e))<1||e>f)return[];var n=h,r=gn(e,h);t=ai(t),e-=h;for(var o=Ht(r,t);++n<e;)t(n);return o},Dn.toFinite=pu,Dn.toInteger=hu,Dn.toLength=du,Dn.toLower=function(e){return gu(e).toLowerCase()},Dn.toNumber=vu,Dn.toSafeInteger=function(e){return e?ir(hu(e),-9007199254740991,f):0===e?e:0},Dn.toString=gu,Dn.toUpper=function(e){return gu(e).toUpperCase()},Dn.trim=function(e,t,n){if((e=gu(e))&&(n||t===o))return qt(e);if(!e||!(t=ao(t)))return e;var r=fn(e),i=fn(t);return yo(r,Jt(r,i),Qt(r,i)+1).join("")},Dn.trimEnd=function(e,t,n){if((e=gu(e))&&(n||t===o))return e.slice(0,pn(e)+1);if(!e||!(t=ao(t)))return e;var r=fn(e);return yo(r,0,Qt(r,fn(t))+1).join("")},Dn.trimStart=function(e,t,n){if((e=gu(e))&&(n||t===o))return e.replace(re,"");if(!e||!(t=ao(t)))return e;var r=fn(e);return yo(r,Jt(r,fn(t))).join("")},Dn.truncate=function(e,t){var n=30,r="...";if(Qa(t)){var i="separator"in t?t.separator:i;n="length"in t?hu(t.length):n,r="omission"in t?ao(t.omission):r}var a=(e=gu(e)).length;if(rn(e)){var u=fn(e);a=u.length}if(n>=a)return e;var s=n-ln(r);if(s<1)return r;var c=u?yo(u,0,s).join(""):e.slice(0,s);if(i===o)return c+r;if(u&&(s+=c.length-s),ou(i)){if(e.slice(s).search(i)){var l,f=c;for(i.global||(i=Ie(i.source,gu(pe.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var p=l.index;c=c.slice(0,p===o?s:p)}}else if(e.indexOf(ao(i),s)!=s){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+r},Dn.unescape=function(e){return(e=gu(e))&&H.test(e)?e.replace(W,hn):e},Dn.uniqueId=function(e){var t=++Pe;return gu(e)+t},Dn.upperCase=qu,Dn.upperFirst=Zu,Dn.each=ga,Dn.eachRight=_a,Dn.first=Wi,as(Dn,(ms={},_r(Dn,(function(e,t){Le.call(Dn.prototype,t)||(ms[t]=e)})),ms),{chain:!1}),Dn.VERSION="4.17.21",It(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Dn[e].placeholder=Dn})),It(["drop","take"],(function(e,t){Fn.prototype[e]=function(n){n=n===o?1:mn(hu(n),0);var r=this.__filtered__&&!t?new Fn(this):this.clone();return r.__filtered__?r.__takeCount__=gn(n,r.__takeCount__):r.__views__.push({size:gn(n,h),type:e+(r.__dir__<0?"Right":"")}),r},Fn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),It(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Fn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ai(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),It(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Fn.prototype[e]=function(){return this[n](1).value()[0]}})),It(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Fn.prototype[e]=function(){return this.__filtered__?new Fn(this):this[n](1)}})),Fn.prototype.compact=function(){return this.filter(ns)},Fn.prototype.find=function(e){return this.filter(e).head()},Fn.prototype.findLast=function(e){return this.reverse().find(e)},Fn.prototype.invokeMap=Hr((function(e,t){return"function"==typeof e?new Fn(this):this.map((function(n){return Rr(n,e,t)}))})),Fn.prototype.reject=function(e){return this.filter(Pa(ai(e)))},Fn.prototype.slice=function(e,t){e=hu(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Fn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=hu(t))<0?n.dropRight(-t):n.take(t-e)),n)},Fn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Fn.prototype.toArray=function(){return this.take(h)},_r(Fn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Dn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Dn.prototype[t]=function(){var t=this.__wrapped__,u=r?[1]:arguments,s=t instanceof Fn,c=u[0],l=s||Ga(t),f=function(e){var t=i.apply(Dn,$t([e],u));return r&&p?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(s=l=!1);var p=this.__chain__,h=!!this.__actions__.length,d=a&&!p,v=s&&!h;if(!a&&l){t=v?t:new Fn(this);var m=e.apply(t,u);return m.__actions__.push({func:pa,args:[f],thisArg:o}),new Bn(m,p)}return d&&v?e.apply(this,u):(m=this.thru(f),d?r?m.value()[0]:m.value():m)})})),It(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Re[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Dn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ga(o)?o:[],e)}return this[n]((function(n){return t.apply(Ga(n)?n:[],e)}))}})),_r(Fn.prototype,(function(e,t){var n=Dn[t];if(n){var r=n.name+"";Le.call(An,r)||(An[r]=[]),An[r].push({name:t,func:n})}})),An[Do(o,2).name]=[{name:"wrapper",func:o}],Fn.prototype.clone=function(){var e=new Fn(this.__wrapped__);return e.__actions__=No(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=No(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=No(this.__views__),e},Fn.prototype.reverse=function(){if(this.__filtered__){var e=new Fn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Fn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ga(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=gn(t,e+a);break;case"takeRight":e=mn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,u=i.end,s=u-a,c=r?u:a-1,l=this.__iteratees__,f=l.length,p=0,h=gn(s,this.__takeCount__);if(!n||!r&&o==s&&h==s)return fo(e,this.__actions__);var d=[];e:for(;s--&&p<h;){for(var v=-1,m=e[c+=t];++v<f;){var g=l[v],_=g.iteratee,y=g.type,b=_(m);if(2==y)m=b;else if(!b){if(1==y)continue e;break e}}d[p++]=m}return d},Dn.prototype.at=ha,Dn.prototype.chain=function(){return fa(this)},Dn.prototype.commit=function(){return new Bn(this.value(),this.__chain__)},Dn.prototype.next=function(){this.__values__===o&&(this.__values__=fu(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Dn.prototype.plant=function(e){for(var t,n=this;n instanceof Vn;){var r=Di(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Dn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Fn){var t=e;return this.__actions__.length&&(t=new Fn(this)),(t=t.reverse()).__actions__.push({func:pa,args:[Qi],thisArg:o}),new Bn(t,this.__chain__)}return this.thru(Qi)},Dn.prototype.toJSON=Dn.prototype.valueOf=Dn.prototype.value=function(){return fo(this.__wrapped__,this.__actions__)},Dn.prototype.first=Dn.prototype.head,Ze&&(Dn.prototype[Ze]=function(){return this}),Dn}();ft._=dn,(r=function(){return dn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},9223:(e,t,n)=>{"use strict";const r=n(1471),o=Symbol("max"),i=Symbol("length"),a=Symbol("lengthCalculator"),u=Symbol("allowStale"),s=Symbol("maxAge"),c=Symbol("dispose"),l=Symbol("noDisposeOnSet"),f=Symbol("lruList"),p=Symbol("cache"),h=Symbol("updateAgeOnGet"),d=()=>1,v=(e,t,n)=>{const r=e[p].get(t);if(r){const t=r.value;if(m(e,t)){if(_(e,r),!e[u])return}else n&&(e[h]&&(r.value.now=Date.now()),e[f].unshiftNode(r));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[s])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[s]&&n>e[s]},g=e=>{if(e[i]>e[o])for(let t=e[f].tail;e[i]>e[o]&&null!==t;){const n=t.prev;_(e,t),t=n}},_=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[i]-=n.length,e[p].delete(n.key),e[f].removeNode(t)}};class y{constructor(e,t,n,r,o){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=o||0}}const b=(e,t,n,r)=>{let o=n.value;m(e,o)&&(_(e,n),e[u]||(o=void 0)),o&&t.call(r,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||d;if(this[a]="function"!=typeof t?d:t,this[u]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[s]=e.maxAge||0,this[c]=e.dispose,this[l]=e.noDisposeOnSet||!1,this[h]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,g(this)}get max(){return this[o]}set allowStale(e){this[u]=!!e}get allowStale(){return this[u]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[s]=e,g(this)}get maxAge(){return this[s]}set lengthCalculator(e){"function"!=typeof e&&(e=d),e!==this[a]&&(this[a]=e,this[i]=0,this[f].forEach((e=>{e.length=this[a](e.value,e.key),this[i]+=e.length}))),g(this)}get lengthCalculator(){return this[a]}get length(){return this[i]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let n=this[f].tail;null!==n;){const r=n.prev;b(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[f].head;null!==n;){const r=n.next;b(this,e,n,t),n=r}}keys(){return this[f].toArray().map((e=>e.key))}values(){return this[f].toArray().map((e=>e.value))}reset(){this[c]&&this[f]&&this[f].length&&this[f].forEach((e=>this[c](e.key,e.value))),this[p]=new Map,this[f]=new r,this[i]=0}dump(){return this[f].map((e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[f]}set(e,t,n){if((n=n||this[s])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,u=this[a](t,e);if(this[p].has(e)){if(u>this[o])return _(this,this[p].get(e)),!1;const a=this[p].get(e).value;return this[c]&&(this[l]||this[c](e,a.value)),a.now=r,a.maxAge=n,a.value=t,this[i]+=u-a.length,a.length=u,this.get(e),g(this),!0}const h=new y(e,t,u,r,n);return h.length>this[o]?(this[c]&&this[c](e,t),!1):(this[i]+=h.length,this[f].unshift(h),this[p].set(e,this[f].head),g(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!m(this,t)}get(e){return v(this,e,!0)}peek(e){return v(this,e,!1)}pop(){const e=this[f].tail;return e?(_(this,e),e.value):null}del(e){_(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],o=r.e||0;if(0===o)this.set(r.k,r.v);else{const e=o-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[p].forEach(((e,t)=>v(this,t,!1)))}}},456:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNavigator=t.isBrowser=t.off=t.on=t.noop=void 0,t.noop=function(){},t.on=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)},t.off=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)},t.isBrowser="undefined"!=typeof window,t.isNavigator="undefined"!=typeof navigator},4286:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1594);t.default=function(e){r.useEffect(e,[])}},1084:(e,t,n)=>{"use strict";var r=n(1594),o=n(456),i=o.isBrowser?window:null,a=function(e){return!!e.addEventListener},u=function(e){return!!e.on};t.A=function(e,t,n,s){void 0===n&&(n=i),r.useEffect((function(){if(t&&n)return a(n)?o.on(n,e,t,s):u(n)&&n.on(e,t,s),function(){a(n)?o.off(n,e,t,s):u(n)&&n.off(e,t,s)}}),[e,t,n,JSON.stringify(s)])}},9768:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7046),o=n(1594),i=r.__importDefault(n(2896));t.default=function(e){var t=o.useRef(0),n=o.useState(e),r=n[0],a=n[1],u=o.useCallback((function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame((function(){a(e)}))}),[]);return i.default((function(){cancelAnimationFrame(t.current)})),[r,u]}},2896:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7046),o=n(1594),i=r.__importDefault(n(4286));t.default=function(e){var t=o.useRef(e);t.current=e,i.default((function(){return function(){return t.current()}}))}},4843:(e,t,n)=>{"use strict";var r=n(7046),o=n(1594),i=r.__importDefault(n(9768)),a=n(456);t.A=function(e){var t=void 0===e?{}:e,n=t.initialWidth,r=void 0===n?1/0:n,u=t.initialHeight,s=void 0===u?1/0:u,c=t.onChange,l=i.default({width:a.isBrowser?window.innerWidth:r,height:a.isBrowser?window.innerHeight:s}),f=l[0],p=l[1];return o.useEffect((function(){if(a.isBrowser){var e=function(){var e=window.innerWidth,t=window.innerHeight;p({width:e,height:t}),c&&c(e,t)};return a.on(window,"resize",e),function(){a.off(window,"resize",e)}}}),[]),f}},1680:(e,t,n)=>{const r=Symbol("SemVer ANY");class o{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?a[u.COMPARATORLOOSE]:a[u.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new l(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return s(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new f(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new f(this.value,t).test(e.semver);const n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),u=s(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=s(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||i&&a||u||c}}e.exports=o;const i=n(9707),{re:a,t:u}=n(4502),s=n(1519),c=n(4040),l=n(676),f=n(1367)},1367:(e,t,n)=>{class r{constructor(e,t){if(t=i(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!d(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&v(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=o.get(t);if(n)return n;const r=this.options.loose,i=r?c[l.HYPHENRANGELOOSE]:c[l.HYPHENRANGE];e=e.replace(i,N(this.options.includePrerelease)),u("hyphen replace",e),e=e.replace(c[l.COMPARATORTRIM],f),u("comparator trim",e,c[l.COMPARATORTRIM]),e=(e=(e=e.replace(c[l.TILDETRIM],p)).replace(c[l.CARETTRIM],h)).split(/\s+/).join(" ");const s=r?c[l.COMPARATORLOOSE]:c[l.COMPARATOR],v=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>S(e,this.options))).filter(this.options.loose?e=>!!e.match(s):()=>!0).map((e=>new a(e,this.options))),m=(v.length,new Map);for(const e of v){if(d(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");const _=[...m.values()];return o.set(t,_),_}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>m(n,t)&&e.set.some((e=>m(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(R(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const o=new(n(9223))({max:1e3}),i=n(9707),a=n(1680),u=n(4040),s=n(676),{re:c,t:l,comparatorTrimReplace:f,tildeTrimReplace:p,caretTrimReplace:h}=n(4502),d=e=>"<0.0.0-0"===e.value,v=e=>""===e.value,m=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every((e=>o.intersects(e,t))),o=r.pop();return n},g=(e,t)=>(u("comp",e,t),e=w(e,t),u("caret",e),e=y(e,t),u("tildes",e),e=x(e,t),u("xrange",e),e=I(e,t),u("stars",e),e),_=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>b(e,t))).join(" "),b=(e,t)=>{const n=t.loose?c[l.TILDELOOSE]:c[l.TILDE];return e.replace(n,((t,n,r,o,i)=>{let a;return u("tilde",e,t,n,r,o,i),_(n)?a="":_(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:_(o)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:i?(u("replaceTilde pr",i),a=`>=${n}.${r}.${o}-${i} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${o} <${n}.${+r+1}.0-0`,u("tilde return",a),a}))},w=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{u("caret",e,t);const n=t.loose?c[l.CARETLOOSE]:c[l.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,o,i,a)=>{let s;return u("caret",e,t,n,o,i,a),_(n)?s="":_(o)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:_(i)?s="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:a?(u("replaceCaret pr",a),s="0"===n?"0"===o?`>=${n}.${o}.${i}-${a} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}-${a} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i}-${a} <${+n+1}.0.0-0`):(u("no pr"),s="0"===n?"0"===o?`>=${n}.${o}.${i}${r} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i} <${+n+1}.0.0-0`),u("caret return",s),s}))},x=(e,t)=>(u("replaceXRanges",e,t),e.split(/\s+/).map((e=>O(e,t))).join(" ")),O=(e,t)=>{e=e.trim();const n=t.loose?c[l.XRANGELOOSE]:c[l.XRANGE];return e.replace(n,((n,r,o,i,a,s)=>{u("xRange",e,n,r,o,i,a,s);const c=_(o),l=c||_(i),f=l||_(a),p=f;return"="===r&&p&&(r=""),s=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(l&&(i=0),a=0,">"===r?(r=">=",l?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===r&&(r="<",l?o=+o+1:i=+i+1),"<"===r&&(s="-0"),n=`${r+o}.${i}.${a}${s}`):l?n=`>=${o}.0.0${s} <${+o+1}.0.0-0`:f&&(n=`>=${o}.${i}.0${s} <${o}.${+i+1}.0-0`),u("xRange return",n),n}))},I=(e,t)=>(u("replaceStars",e,t),e.trim().replace(c[l.STAR],"")),S=(e,t)=>(u("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),N=e=>(t,n,r,o,i,a,u,s,c,l,f,p,h)=>`${n=_(r)?"":_(o)?`>=${r}.0.0${e?"-0":""}`:_(i)?`>=${r}.${o}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${s=_(c)?"":_(l)?`<${+c+1}.0.0-0`:_(f)?`<${c}.${+l+1}.0-0`:p?`<=${c}.${l}.${f}-${p}`:e?`<${c}.${l}.${+f+1}-0`:`<=${s}`}`.trim(),R=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(u(e[n].semver),e[n].semver!==a.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},676:(e,t,n)=>{const r=n(4040),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=n(8298),{re:a,t:u}=n(4502),s=n(9707),{compareIdentifiers:c}=n(2355);class l{constructor(e,t){if(t=s(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[u.LOOSE]:a[u.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof l)){if("string"==typeof e&&e===this.version)return 0;e=new l(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof l||(e=new l(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof l||(e=new l(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return c(n,o)}while(++t)}compareBuild(e){e instanceof l||(e=new l(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return c(n,o)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=l},2598:(e,t,n)=>{const r=n(5328);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},1519:(e,t,n)=>{const r=n(4337),o=n(7055),i=n(5276),a=n(7145),u=n(6755),s=n(4608);e.exports=(e,t,n,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,c);case"!=":return o(e,n,c);case">":return i(e,n,c);case">=":return a(e,n,c);case"<":return u(e,n,c);case"<=":return s(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},7514:(e,t,n)=>{const r=n(676),o=n(5328),{re:i,t:a}=n(4502);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=i[a.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),i[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[a.COERCERTL].lastIndex=-1}else n=e.match(i[a.COERCE]);return null===n?null:o(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},7165:(e,t,n)=>{const r=n(676);e.exports=(e,t,n)=>{const o=new r(e,n),i=new r(t,n);return o.compare(i)||o.compareBuild(i)}},8019:(e,t,n)=>{const r=n(7760);e.exports=(e,t)=>r(e,t,!0)},7760:(e,t,n)=>{const r=n(676);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},8600:(e,t,n)=>{const r=n(5328),o=n(4337);e.exports=(e,t)=>{if(o(e,t))return null;{const n=r(e),o=r(t),i=n.prerelease.length||o.prerelease.length,a=i?"pre":"",u=i?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==o[e])return a+e;return u}}},4337:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>0===r(e,t,n)},5276:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>r(e,t,n)>0},7145:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>r(e,t,n)>=0},6063:(e,t,n)=>{const r=n(676);e.exports=(e,t,n,o)=>{"string"==typeof n&&(o=n,n=void 0);try{return new r(e,n).inc(t,o).version}catch(e){return null}}},6755:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>r(e,t,n)<0},4608:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>r(e,t,n)<=0},8122:(e,t,n)=>{const r=n(676);e.exports=(e,t)=>new r(e,t).major},1438:(e,t,n)=>{const r=n(676);e.exports=(e,t)=>new r(e,t).minor},7055:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>0!==r(e,t,n)},5328:(e,t,n)=>{const{MAX_LENGTH:r}=n(8298),{re:o,t:i}=n(4502),a=n(676),u=n(9707);e.exports=(e,t)=>{if(t=u(t),e instanceof a)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new a(e,t)}catch(e){return null}}},9677:(e,t,n)=>{const r=n(676);e.exports=(e,t)=>new r(e,t).patch},9313:(e,t,n)=>{const r=n(5328);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},1394:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>r(t,e,n)},9461:(e,t,n)=>{const r=n(7165);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},5814:(e,t,n)=>{const r=n(1367);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},695:(e,t,n)=>{const r=n(7165);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},2137:(e,t,n)=>{const r=n(5328);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},9109:(e,t,n)=>{const r=n(4502);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(8298).SEMVER_SPEC_VERSION,SemVer:n(676),compareIdentifiers:n(2355).compareIdentifiers,rcompareIdentifiers:n(2355).rcompareIdentifiers,parse:n(5328),valid:n(2137),clean:n(2598),inc:n(6063),diff:n(8600),major:n(8122),minor:n(1438),patch:n(9677),prerelease:n(9313),compare:n(7760),rcompare:n(1394),compareLoose:n(8019),compareBuild:n(7165),sort:n(695),rsort:n(9461),gt:n(5276),lt:n(6755),eq:n(4337),neq:n(7055),gte:n(7145),lte:n(4608),cmp:n(1519),coerce:n(7514),Comparator:n(1680),Range:n(1367),satisfies:n(5814),toComparators:n(7279),maxSatisfying:n(9276),minSatisfying:n(6270),minVersion:n(9037),validRange:n(3570),outside:n(3843),gtr:n(8819),ltr:n(8590),intersects:n(3980),simplifyRange:n(7709),subset:n(4440)}},8298:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},4040:(e,t,n)=>{var r=n(1970);const o="object"==typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=o},2355:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),o=t.test(n);return r&&o&&(e=+e,n=+n),e===n?0:r&&!o?-1:o&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},9707:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},4502:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=n(8298),o=n(4040),i=(t=e.exports={}).re=[],a=t.src=[],u=t.t={};let s=0;const c=(e,t,n)=>{const r=s++;o(r,t),u[e]=r,a[r]=t,i[r]=new RegExp(t,n?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${a[u.NUMERICIDENTIFIER]})\\.(${a[u.NUMERICIDENTIFIER]})\\.(${a[u.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${a[u.NUMERICIDENTIFIERLOOSE]})\\.(${a[u.NUMERICIDENTIFIERLOOSE]})\\.(${a[u.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${a[u.NUMERICIDENTIFIER]}|${a[u.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${a[u.NUMERICIDENTIFIERLOOSE]}|${a[u.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${a[u.PRERELEASEIDENTIFIER]}(?:\\.${a[u.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${a[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[u.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${a[u.BUILDIDENTIFIER]}(?:\\.${a[u.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${a[u.MAINVERSION]}${a[u.PRERELEASE]}?${a[u.BUILD]}?`),c("FULL",`^${a[u.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${a[u.MAINVERSIONLOOSE]}${a[u.PRERELEASELOOSE]}?${a[u.BUILD]}?`),c("LOOSE",`^${a[u.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${a[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${a[u.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${a[u.XRANGEIDENTIFIER]})(?:\\.(${a[u.XRANGEIDENTIFIER]})(?:\\.(${a[u.XRANGEIDENTIFIER]})(?:${a[u.PRERELEASE]})?${a[u.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${a[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[u.XRANGEIDENTIFIERLOOSE]})(?:${a[u.PRERELEASELOOSE]})?${a[u.BUILD]}?)?)?`),c("XRANGE",`^${a[u.GTLT]}\\s*${a[u.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${a[u.GTLT]}\\s*${a[u.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",a[u.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${a[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${a[u.LONETILDE]}${a[u.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${a[u.LONETILDE]}${a[u.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${a[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${a[u.LONECARET]}${a[u.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${a[u.LONECARET]}${a[u.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${a[u.GTLT]}\\s*(${a[u.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${a[u.GTLT]}\\s*(${a[u.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${a[u.GTLT]}\\s*(${a[u.LOOSEPLAIN]}|${a[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${a[u.XRANGEPLAIN]})\\s+-\\s+(${a[u.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${a[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[u.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},8819:(e,t,n)=>{const r=n(3843);e.exports=(e,t,n)=>r(e,t,">",n)},3980:(e,t,n)=>{const r=n(1367);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},8590:(e,t,n)=>{const r=n(3843);e.exports=(e,t,n)=>r(e,t,"<",n)},9276:(e,t,n)=>{const r=n(676),o=n(1367);e.exports=(e,t,n)=>{let i=null,a=null,u=null;try{u=new o(t,n)}catch(e){return null}return e.forEach((e=>{u.test(e)&&(i&&-1!==a.compare(e)||(i=e,a=new r(i,n)))})),i}},6270:(e,t,n)=>{const r=n(676),o=n(1367);e.exports=(e,t,n)=>{let i=null,a=null,u=null;try{u=new o(t,n)}catch(e){return null}return e.forEach((e=>{u.test(e)&&(i&&1!==a.compare(e)||(i=e,a=new r(i,n)))})),i}},9037:(e,t,n)=>{const r=n(676),o=n(1367),i=n(5276);e.exports=(e,t)=>{e=new o(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const o=e.set[t];let a=null;o.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!i(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!a||n&&!i(n,a)||(n=a)}return n&&e.test(n)?n:null}},3843:(e,t,n)=>{const r=n(676),o=n(1680),{ANY:i}=o,a=n(1367),u=n(5814),s=n(5276),c=n(6755),l=n(4608),f=n(7145);e.exports=(e,t,n,p)=>{let h,d,v,m,g;switch(e=new r(e,p),t=new a(t,p),n){case">":h=s,d=l,v=c,m=">",g=">=";break;case"<":h=c,d=f,v=s,m="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(u(e,t,p))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let a=null,u=null;if(r.forEach((e=>{e.semver===i&&(e=new o(">=0.0.0")),a=a||e,u=u||e,h(e.semver,a.semver,p)?a=e:v(e.semver,u.semver,p)&&(u=e)})),a.operator===m||a.operator===g)return!1;if((!u.operator||u.operator===m)&&d(e,u.semver))return!1;if(u.operator===g&&v(e,u.semver))return!1}return!0}},7709:(e,t,n)=>{const r=n(5814),o=n(7760);e.exports=(e,t,n)=>{const i=[];let a=null,u=null;const s=e.sort(((e,t)=>o(e,t,n)));for(const e of s)r(e,t,n)?(u=e,a||(a=e)):(u&&i.push([a,u]),u=null,a=null);a&&i.push([a,null]);const c=[];for(const[e,t]of i)e===t?c.push(e):t||e!==s[0]?t?e===s[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const l=c.join(" || "),f="string"==typeof t.raw?t.raw:String(t);return l.length<f.length?l:t}},4440:(e,t,n)=>{const r=n(1367),{ANY:o}=n(1680),i=n(5814),a=n(7760),u=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o)return 1===t.length&&t[0].semver===o;const r=new Set;let u,l,f,p,h,d,v;for(const t of e)">"===t.operator||">="===t.operator?u=s(u,t,n):"<"===t.operator||"<="===t.operator?l=c(l,t,n):r.add(t.semver);if(r.size>1)return null;if(u&&l){if(f=a(u.semver,l.semver,n),f>0)return null;if(0===f&&(">="!==u.operator||"<="!==l.operator))return null}for(const e of r){if(u&&!i(e,String(u),n))return null;if(l&&!i(e,String(l),n))return null;for(const r of t)if(!i(e,String(r),n))return!1;return!0}for(const e of t){if(v=v||">"===e.operator||">="===e.operator,d=d||"<"===e.operator||"<="===e.operator,u)if(">"===e.operator||">="===e.operator){if(p=s(u,e,n),p===e&&p!==u)return!1}else if(">="===u.operator&&!i(u.semver,String(e),n))return!1;if(l)if("<"===e.operator||"<="===e.operator){if(h=c(l,e,n),h===e&&h!==l)return!1}else if("<="===l.operator&&!i(l.semver,String(e),n))return!1;if(!e.operator&&(l||u)&&0!==f)return!1}return!(u&&d&&!l&&0!==f||l&&v&&!u&&0!==f)},s=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},c=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n)=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let o=!1;e:for(const r of e.set){for(const e of t.set){const t=u(r,e,n);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},7279:(e,t,n)=>{const r=n(1367);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},3570:(e,t,n)=>{const r=n(1367);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},8499:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},1471:(e,t,n)=>{"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,o=arguments.length;n<o;n++)t.push(arguments[n]);return t}function o(e,t,n){var r=t===e.head?new u(n,null,t,e):new u(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function i(e,t){e.tail=new u(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,t){e.head=new u(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function u(e,t,n,r){if(!(this instanceof u))return new u(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=u,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,o=this.head;null!==o;)n.push(e.call(t,o.value,this)),o=o.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,o=this.tail;null!==o;)n.push(e.call(t,o.value,this)),o=o.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var o=0;null!==r;o++)n=e(n,r.value,o),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var o=this.length-1;null!==r;o--)n=e(n,r.value,o),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var o=0,i=this.head;null!==i&&o<e;o++)i=i.next;for(;null!==i&&o<t;o++,i=i.next)n.push(i.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var o=this.length,i=this.tail;null!==i&&o>t;o--)i=i.prev;for(;null!==i&&o>e;o--,i=i.prev)n.push(i.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,i=this.head;null!==i&&r<e;r++)i=i.next;var a=[];for(r=0;i&&r<t;r++)a.push(i.value),i=this.removeNode(i);for(null===i&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev),r=0;r<n.length;r++)i=o(this,i,n[r]);return a},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(8499)(r)}catch(e){}},7250:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseImage=void 0;const i=o(n(1594)),a=o(n(8443)),u=o(n(6006));function s(e){var{alt:t,className:n,fullWidth:o}=e,s=r(e,["alt","className","fullWidth"]);return i.default.createElement("img",Object.assign({"data-bit-id":"teambit.base-ui/elements/image",alt:t},s,{className:a.default(u.default.image,o&&u.default.fullWidth,n)}))}s.__bit_component={id:"teambit.base-ui/elements/image@1.0.0",homepage:"https://bit.dev/teambit/base-ui/elements/image",exported:!0},t.BaseImage=s},5559:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7250),t)},8814:(e,t,n)=>{"use strict";var r=n(5711);function o(){const e=r(n(4390));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.BitError=void 0,o.__bit_component={id:"teambit.harmony/bit-error@0.0.365",homepage:"https://bit.dev/teambit/harmony/bit-error",exported:!0};class i extends Error{constructor(e){super(e||""),(0,o().default)(this,"isUserError",!0),this.name=this.constructor.name}report(){return this.message}}t.BitError=i},8410:(e,t,n)=>{"use strict";function r(){const e=n(8814);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BitError",{enumerable:!0,get:function(){return r().BitError}}),r.__bit_component={id:"teambit.harmony/bit-error@0.0.365",homepage:"https://bit.dev/teambit/harmony/bit-error",exported:!0}},9566:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBubbleGraph=void 0;const r=n(1165);function o(e){return e.map((e=>r.GridNode.fromPlain(e)))}o.__bit_component={id:"teambit.community/entity/graph/bubble-graph@1.95.0",homepage:"https://bit.dev/teambit/community/entity/graph/bubble-graph",exported:!0},t.createBubbleGraph=o},1756:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mockBubbleGraph=void 0;const r=n(1165),o=n(9566);function i(){return(0,o.createBubbleGraph)([{id:"teambit.community/ui/homepage/hero@1.0.1",dependencies:["teambit.community/entities/hero-graph","teambit.community/ui/content/heading",{id:"teambit.design/ui/content/subtitle",edge:{start:"bottom",end:"right"}},{id:"teambit.documenter/ui/copy-box",edge:{start:"bottom",end:"right"}}],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:3,col:10,sizes:{lg:{row:2,col:10},md:{row:3,col:11},sm:{row:null,col:null}},position:"top-right"},{id:"teambit.community/ui/homepage/homepage@1.1.2",dependencies:["teambit.community/ui/homepage/hero"],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:2,col:11,sizes:{lg:{row:1,col:10},md:{row:1,col:10},sm:{row:null,col:null}},position:"top-right"},{id:"teambit.community/apps/website@1.2.1",dependencies:["teambit.community/ui/homepage/homepage"],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:3,col:11,sizes:{lg:{row:1,col:7},md:{row:1,col:7},sm:{row:null,col:null}},position:"top-right"},{id:"teambit.design/ui/content/heading@2.2.1",dependencies:[{id:"teambit.community/ui/content/heading",edge:{direction:r.Direction.TAIL}}],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:3,col:1,sizes:{lg:{row:1,col:1},sm:{row:null,col:null}},position:"right"},{id:"teambit.react-base/buttons/button@2.0.3",dependencies:["teambit.react-base/navigation/link",{id:"teambit.design/ui/buttons/button",edge:{direction:r.Direction.TAIL}}],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:5,col:2,sizes:{lg:{row:4,col:2},md:{row:5,col:1},sm:{row:null,col:null}},position:"top-right"},{id:"teambit.react-base/navigation/link@1.2.9",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:4,col:1,sizes:{lg:{row:3,col:1},md:{row:5,col:5},sm:{row:null,col:null}}},{id:"teambit.community/entities/hero-graph@1.3.1",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-nodejs.svg"},row:2,col:9,sizes:{lg:{row:3,col:11},md:{row:5,col:11},sm:{row:null,col:null}},position:"top-right"},{id:"teambit.workspace/workspace@1.4.1",dependencies:["teambit.component/component","teambit.ui-foundation/ui/component-tree","teambit.ui-foundation/ui/top-bar"],payload:{icon:"https://static.bit.dev/Community/icons/workspace-edit.svg"},row:6,col:11,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.scope/scope@1.3.1",dependencies:["teambit.component/component","teambit.ui-foundation/ui/top-bar"],payload:{icon:"https://static.bit.dev/Community/icons/collection.svg"},row:5,col:10,sizes:{lg:{row:null,col:null}},position:"bottom"},{id:"teambit.component/component@1.3.1",dependencies:[],payload:{icon:"https://static.bit.dev/Community/icons/workspace.svg"},row:5,col:11,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"teambit.ui-foundation/ui/component-tree@1.2.1",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:7,col:10,sizes:{lg:{row:null,col:null}},position:"bottom"},{id:"teambit.ui-foundation/ui/top-bar@1.0.1",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:6,col:9,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.compilation/compiler@1.3.1",dependencies:[],payload:{icon:"https://static.bit.dev/Community/icons/compile.svg?123"},row:6,col:7,sizes:{lg:{row:null,col:null}}},{id:"teambit.compilation/babel@1.1.0",dependencies:["teambit.compilation/compiler"],payload:{icon:"https://static.bit.dev/Community/icons/babel-puzzle.svg"},row:7,col:8,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"teambit.typescript/typescript@1.3.1",dependencies:["teambit.compilation/compiler"],payload:{icon:"https://static.bit.dev/Community/icons/typescript-puzzle.svg"},row:7,col:6,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"teambit.tester/tester@1.2.1",dependencies:[],payload:{icon:"https://static.bit.dev/Community/icons/tester.svg"},row:7,col:7,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.linting/linter@1.2.1",dependencies:["teambit.tester/eslint"],payload:{icon:"https://static.bit.dev/Community/icons/linter.svg"},row:5,col:6,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.tester/eslint@1.2.1",dependencies:[],payload:{icon:"https://static.bit.dev/Community/icons/esling.svg"},row:6,col:5,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"teambit.react/react@2.0.1",dependencies:["teambit.typescript/typescript","teambit.tester/jest","teambit.tester/eslint"],payload:{icon:"https://static.bit.dev/Community/icons/reactjs-puzzle.svg"},row:6,col:4,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.tester/jest@3.2.1",dependencies:["teambit.tester/tester"],payload:{icon:"https://static.bit.dev/brands/logo-nodejs.svg"},row:7,col:5,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"learn-bit-angular.ecommerce/store@1.3.1",dependencies:["learn-bit-angular.ecommerce/cart","learn-bit-angular.ecommerce/product","learn-bit-angular.ecommerce/hero"],payload:{icon:"https://static.bit.dev/brands/logo-angular.svg"},row:1,col:5,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"learn-bit-angular.ecommerce/cart@1.3.1",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-angular.svg"},row:1,col:4,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"learn-bit-angular.ecommerce/hero@1.1.5",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-angular.svg"},row:2,col:7,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"learn-bit-angular.ecommerce/product@1.3.1",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-angular.svg"},row:1,col:6,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"teambit.mdx/mdx@3.1.2",dependencies:["teambit.mdx/modules/mdx-compiler"],payload:{icon:"https://static.bit.dev/brands/logo-nodejs.svg"},row:2,col:1,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.mdx/babel/mdx-loader@3.1.2",dependencies:["teambit.mdx/modules/mdx-compiler"],payload:{icon:"https://static.bit.dev/brands/logo-nodejs.svg"},row:1,col:1,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.mdx/modules/mdx-compiler@1.0.12",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-nodejs.svg"},row:1,col:2,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.mdx/ui/pages/book-page@0.0.2",dependencies:["teambit.mdx/ui/book-list","teambit.frontend/ui/angular-renderer",{id:"learn-bit-react.angular-in-react/books/recommendations",edge:{start:"bottom",end:"top"}}],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:5,col:2,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.frontend/ui/angular-renderer@0.0.2",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:5,col:1,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"learn-bit-react.angular-in-react/books/recommendations@0.0.2",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-angular.svg"},row:7,col:1,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"teambit.mdx/ui/book-list@0.0.2",dependencies:["teambit.mdx/ui/hooks/use-book","learn-bit-react.data-fetching/models/book"],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:6,col:2,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.mdx/ui/hooks/use-book@0.0.2",dependencies:["learn-bit-react.data-fetching/models/book"],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:7,col:2,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"learn-bit-react.data-fetching/models/book@0.0.2",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-nodejs.svg"},row:7,col:3,sizes:{lg:{row:null,col:null}},position:"bottom-right"}])}i.__bit_component={id:"teambit.community/entity/graph/bubble-graph@1.95.0",homepage:"https://bit.dev/teambit/community/entity/graph/bubble-graph",exported:!0},t.mockBubbleGraph=i},8557:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mockBubbleGraph=t.createBubbleGraph=void 0;var r=n(9566);Object.defineProperty(t,"createBubbleGraph",{enumerable:!0,get:function(){return r.createBubbleGraph}});var o=n(1756);Object.defineProperty(t,"mockBubbleGraph",{enumerable:!0,get:function(){return o.mockBubbleGraph}})},8782:(e,t)=>{"use strict";function n(e){return e.replace(/[.\/]/g,"-")}Object.defineProperty(t,"__esModule",{value:!0}),t.getAttrValidId=void 0,n.__bit_component={id:"teambit.community/entity/graph/grid-graph@1.95.0",homepage:"https://bit.dev/teambit/community/entity/graph/grid-graph",exported:!0},t.getAttrValidId=n},2560:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DependencyEdge=void 0;const r=n(2470),o=n(8782);class i{constructor(e,t){this.id=e,this.edge=t}get attrId(){return(0,o.getAttrValidId)(this.id.toStringWithoutVersion())}static fromPlain(e){return"string"==typeof e?new i(r.ComponentID.fromString(e)):new i(r.ComponentID.fromString(e.id),e.edge)}}t.DependencyEdge=i},4012:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Direction=void 0,(n=t.Direction||(t.Direction={})).NONE="none",n.BI="bi",n.HEAD="head",n.TAIL="tail"},8810:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.GridNode=void 0;const o=n(2470),i=n(8782),a=n(2560);class u{constructor(e,t=[],n,r,o,i,a){this.id=e,this.dependencies=t,this.row=n,this.col=r,this.sizes=o,this.position=i,this.payload=a}get attrId(){return(0,i.getAttrValidId)(this.id.toStringWithoutVersion())}static fromPlain(e){var{id:t,dependencies:n=[],col:i,row:s,sizes:c,position:l}=e,f=r(e,["id","dependencies","col","row","sizes","position"]);return new u(o.ComponentID.fromString(t),n.map((e=>a.DependencyEdge.fromPlain(e))),s,i,c,l,f.payload)}}t.GridNode=u},1165:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Direction=t.GridNode=t.DependencyEdge=void 0;var r=n(2560);Object.defineProperty(t,"DependencyEdge",{enumerable:!0,get:function(){return r.DependencyEdge}});var o=n(8810);Object.defineProperty(t,"GridNode",{enumerable:!0,get:function(){return o.GridNode}});var i=n(4012);Object.defineProperty(t,"Direction",{enumerable:!0,get:function(){return i.Direction}})},4119:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentID=void 0;const r=n(824),o=n(7889);class i{constructor(e,t){this.legacyComponentId=e,this._scope=t}get _legacy(){return this.legacyComponentId}hasVersion(){return this._legacy.hasVersion()}get version(){return this.legacyComponentId.version}get namespace(){return this.legacyComponentId.name.split("/").slice(0,-1).join("/")}get fullName(){return this._legacy.name}get name(){const e=this.legacyComponentId.name.split("/");return e[e.length-1]}get scope(){const e=this._legacy.scope;if(e)return e;if(!this._scope)throw new Error("scope cannot be undefined");return this._scope}changeScope(e){const t=this._legacy.changeScope(e);return i.fromLegacy(t)}changeVersion(e){const t=this._legacy.changeVersion(e);return i.fromLegacy(t,this.scope)}isEqual(e,t){return i.isEqual(this,e,t)}getVersionPreReleaseData(){return this._legacy.getVersionPreReleaseData()}toStringWithoutVersion(){let e=this._legacy;return this._scope&&!this._legacy.scope&&(e=e.changeScope(this._scope)),e.toStringWithoutVersion()}toString(e={}){let t=this._legacy;return this._scope&&!this._legacy.scope&&(t=t.changeScope(this._scope)),t.toString(!1,e.ignoreVersion)}toObject(){const e=this.legacyComponentId.serialize();return e.scope||(e.scope=this.scope),e}static tryFromString(e,t){try{return i.fromString(e,t)}catch(e){return}}static fromString(e,t){const n=r.BitId.parse(e,!0);if(!t&&!n.scope)throw new o.MissingScope(e);return new i(n,t)}static fromLegacyString(e,t){const n=r.BitId.parse(e,!1);return new i(n,t)}static fromObject(e,t){return i.fromLegacy(new r.BitId(e),t)}static isValidObject(e){return"object"==typeof e&&"string"==typeof e.name&&"string"==typeof e.scope}static isEqual(e,t,n={}){if(!e&&!t)return!0;if(!e||!t)return!1;let r=e.scope===t.scope&&e.toString({ignoreVersion:n.ignoreVersion})===t.toString({ignoreVersion:n.ignoreVersion});return n.ignoreVersion||(r=r&&e.version===t.version),r}static isEqualObj(e,t,n={}){if(!e&&!t)return!0;if(!e||!t)return!1;let r=e.scope===t.scope&&e.name===t.name;return n.ignoreVersion||(r=r&&e.version===t.version),r}static fromLegacy(e,t){if(!t&&!e.scope)throw new o.MissingScope(e);return new i(e,t)}}t.ComponentID=i},7889:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingScope=void 0;const r=n(452);Object.defineProperty(t,"MissingScope",{enumerable:!0,get:function(){return r.MissingScope}})},452:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingScope=void 0;class n extends Error{constructor(e){super(`scope was not defined directly or by "${e}"`)}report(){return this.message}}t.MissingScope=n},2470:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentID=void 0;var r=n(4119);Object.defineProperty(t,"ComponentID",{enumerable:!0,get:function(){return r.ComponentID}})},5564:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidVersion=void 0;const o=r(n(7790));t.InvalidVersion=o.default},7790:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8410);class o extends r.BitError{constructor(e){super(`error: version ${e||"(empty)"} is not a valid semantic version. learn more: https://semver.org`)}}t.default=o},3309:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidVersion=t.isTag=t.isSnap=t.isHash=t.versionParser=t.LATEST_VERSION=t.Version=void 0;const a=n(3109);Object.defineProperty(t,"Version",{enumerable:!0,get:function(){return a.Version}}),Object.defineProperty(t,"LATEST_VERSION",{enumerable:!0,get:function(){return a.LATEST_VERSION}});const u=i(n(9197));t.versionParser=u.default,Object.defineProperty(t,"isHash",{enumerable:!0,get:function(){return u.isHash}}),Object.defineProperty(t,"isSnap",{enumerable:!0,get:function(){return u.isSnap}}),Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return u.isTag}});const s=n(5564);Object.defineProperty(t,"InvalidVersion",{enumerable:!0,get:function(){return s.InvalidVersion}})},9197:function(e,t,n){"use strict";var r={id:"teambit.component/component-version@0.0.366",homepage:"https://bit.dev/teambit/component/component-version",exported:!0},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isSnap=t.isTag=t.isHash=t.LATEST_TESTED_MARK=t.HASH_SIZE=void 0;const i=o(n(9109)),a=n(5564),u=n(3109);function s(e){return e===u.LATEST_VERSION}function c(e){if(!e.includes(t.LATEST_TESTED_MARK))return!1;const n=e.split(t.LATEST_TESTED_MARK);if(2!==n.length)return!1;const[,r]=n;return!!l(r)}function l(e){return i.default.valid(e)}function f(e){return new u.Version(e,!1)}function p(e){const[,n]=e.split(t.LATEST_TESTED_MARK);return new u.Version(n,!0)}function h(){return new u.Version(null,!0)}function d(e){return new u.Version(e,!1)}function v(e){return f(`0.0.${e}`)}function m(e){return"string"==typeof e&&e.length===t.HASH_SIZE}function g(e){return!m(e)}function _(e){return m(e)}function y(e){if(!e)return h();if("string"==typeof e&&s(e))return h();if("string"==typeof e&&c(e))return p(e);if("string"==typeof e&&l(e))return f(e);if("string"!=typeof e&&Number.isInteger(e))return v(e);if(m(e))return d(e);throw new a.InvalidVersion(e.toString())}t.HASH_SIZE=40,t.LATEST_TESTED_MARK="*",s.__bit_component=r,c.__bit_component=r,l.__bit_component=r,f.__bit_component=r,p.__bit_component=r,h.__bit_component=r,d.__bit_component=r,v.__bit_component=r,m.__bit_component=r,t.isHash=m,g.__bit_component=r,t.isTag=g,_.__bit_component=r,t.isSnap=_,y.__bit_component=r,t.default=y},3109:function(e,t,n){"use strict";var r={id:"teambit.component/component-version@0.0.366",homepage:"https://bit.dev/teambit/component/component-version",exported:!0},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Version=t.LATEST_VERSION=void 0;const i=o(n(9109)),a=n(5564);t.LATEST_VERSION="latest",t.Version=class{constructor(e,t){this.versionNum=e,this.latest=t}resolve(e){const t=()=>i.default.maxSatisfying(e,"*",{includePrerelease:!0});return t.__bit_component=r,this.latest?t():this.versionNum}toString(){if(!this.versionNum&&this.latest)return"latest";if(this.versionNum&&this.latest)return`*${this.versionNum}`;if(this.versionNum&&!this.latest)return this.versionNum.toString();throw new a.InvalidVersion(this.versionNum)}isLaterThan(e){return!this.versionNum||this.versionNum===t.LATEST_VERSION||!(!e.versionNum||e.versionNum===t.LATEST_VERSION)&&i.default.gt(this.versionNum,e.versionNum)}}},4531:(e,t,n)=>{"use strict";var r={id:"teambit.component/content/component-overview@1.95.0",homepage:"https://bit.dev/teambit/component/content/component-overview",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=g,f(n(1594));var o=n(5016),i=n(5682),a=n(621),u=f(n(9263)),s=f(n(7603)),c=f(n(742)),l=["components"];function f(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function h(e,t){if(null==e)return{};var n,r,o=d(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}f.__bit_component=r,p.__bit_component=r,h.__bit_component=r,d.__bit_component=r;var v={},m="wrapper";function g(e){var t=e.components,n=h(e,l);return(0,o.mdx)(m,p({},v,n,{components:t,mdxType:"MDXLayout"}),(0,o.mdx)(i.MDXScopeProvider,{components:{Image:a.Image,scopeWorkspace:u.default,workspaceScope:s.default,componentImg:c.default},mdxType:"MDXScopeProvider"},(0,o.mdx)("h1",null,"Component Overview"),(0,o.mdx)("p",null,(0,o.mdx)("strong",{parentName:"p"},"Bit Component")," is a container designed for single module or component, it allow you to decouple and version independent components.",(0,o.mdx)("br",{parentName:"p"}),"\n","It is the most fundamental building block of Bit and what enables component-driven software. Create, maintain and compose components to apps and systems."),(0,o.mdx)("p",null,"Each component has a unique ",(0,o.mdx)("a",{parentName:"p",href:"/components/component-id"},"ID")," and contains ",(0,o.mdx)("a",{parentName:"p",href:"/components/source-code"},"Source Code"),", ",(0,o.mdx)("a",{parentName:"p",href:"/dependencies/overview"},"Dependencies"),", ",(0,o.mdx)("a",{parentName:"p",href:"/components/artifact"},"Artifacts"),", ",(0,o.mdx)("a",{parentName:"p",href:"/components/component-config"},"Configuration")," and ",(0,o.mdx)("a",{parentName:"p",href:"/components/metadata"},"Metadata"),". Component generate and manage its own artifacts, like ",(0,o.mdx)("a",{parentName:"p",href:"/packages/package"},"Package"),", ",(0,o.mdx)("a",{parentName:"p",href:"/compiler/dist"},"Distribution"),", and even a ",(0,o.mdx)("a",{parentName:"p",href:"/preview/preview"},"Preview"),".",(0,o.mdx)("br",{parentName:"p"}),"\n","Components are connected together through dependencies, as Bit forms a complete dependency graph of your codebase."),(0,o.mdx)(a.Image,{width:"30%",src:c.default,alt:"Bit Components",mdxType:"Image"}),(0,o.mdx)("p",null,(0,o.mdx)("a",{parentName:"p",href:"/docs/workspace/workspace-overview"},"Workspaces")," is where components are developed. You can ",(0,o.mdx)("a",{parentName:"p",href:"/docs/components/snaps"},"snap")," a component to save changes for component, or ",(0,o.mdx)("a",{parentName:"p",href:"/docs/components/tags"},"tag")," and use semver to version a set of changes. Bit persists these changes to builds the component history, and stores it for the workspace. Using ",(0,o.mdx)("a",{parentName:"p",href:"/docs/components/importing-components"},"import")," and ",(0,o.mdx)("a",{parentName:"p",href:"/docs/components/exporting-components"},"export")," to sync these changes to a remote scope."),(0,o.mdx)(a.Image,{width:"50%",src:u.default,mdxType:"Image"}),(0,o.mdx)("hr",null),(0,o.mdx)("p",null,"The following steps walk you through a basic component synchronization workflow.",(0,o.mdx)("br",{parentName:"p"}),"\n","Start with ",(0,o.mdx)("inlineCode",{parentName:"p"},"import"),"ing a component to a Bit workspace:"),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit import teambit.harmony/content/aspects-overview\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"successfully imported one component\n- up to date teambit.harmony/content/aspects-overview \n")),(0,o.mdx)("p",null,"Import fetches a component and it's complete history from a remote scope to your workspace.",(0,o.mdx)("br",{parentName:"p"}),"\n","Use ",(0,o.mdx)("inlineCode",{parentName:"p"},"list")," to check which components are available in the workspace and get their current version."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit list\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"┌──────────────────────────────────────────┬─────────────────┬───────────────────┐\n│ component ID │ latest in scope │ used in workspace │\n├──────────────────────────────────────────┼─────────────────┼───────────────────┤\n│ teambit.harmony/content/aspects-overview │ 0.0.3 │ 0.0.3 │\n└──────────────────────────────────────────┴─────────────────┴───────────────────┘\n")),(0,o.mdx)("p",null,"You can apply changes to any component in your workspace and run ",(0,o.mdx)("inlineCode",{parentName:"p"},"status")," to see that Bit recognizes it."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit status\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},'modified components\n(use "bit tag --all [version]" to lock a version with all your changes)\n(use "bit diff" to compare changes)\n\n > content/aspects-overview ... ok\n')),(0,o.mdx)("p",null,"As the previous version of the component is logged as part of the component, use ",(0,o.mdx)("inlineCode",{parentName:"p"},"diff")," to see the modifications."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit diff teambit.harmony/content/aspects-overview\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"------------------------------------------------------------------\nshowing diff for teambit.harmony/content/aspects-overview\n------------------------------------------------------------------\n--- aspects-overview.mdx (0.0.3 original)\n+++ aspects-overview.mdx (0.0.3 modified)\n@@ -56,7 +56,6 @@ export class MyOtherAspect {\n \n...\n")),(0,o.mdx)("p",null,"After reviewing your changes, version the component using either ",(0,o.mdx)("inlineCode",{parentName:"p"},"bit tag")," or ",(0,o.mdx)("inlineCode",{parentName:"p"},"bit snap"),"."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},'bit tag --all 10.0.0 --message "my own version"\n')),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},'1 component(s) tagged\n(use "bit export [collection]" to push these components to a remote")\n(use "bit untag" to unstage versions)\n\nchanged components\n(components that got a version bump)\n > teambit.harmony/content/aspects-overview@1.0.0\n')),(0,o.mdx)("p",null,"Local versions can be exported and synced back to the remote scope with the ",(0,o.mdx)("inlineCode",{parentName:"p"},"export")," command."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit export\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"exported the following 1 component(s):\nteambit.harmony/content/aspects-overview\n")),(0,o.mdx)("p",null,"When a new version is synced to the scope, other workspaces may sync themselves with all remote changes. Using ",(0,o.mdx)("inlineCode",{parentName:"p"},"import")," with no other options tells Bit to update all components in the workspace."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit import\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"- updated teambit.harmony/content/aspects-overview new versions: 1.0.0 \n")),(0,o.mdx)("p",null,"Now that you have the latest changes synced, use ",(0,o.mdx)("inlineCode",{parentName:"p"},"checkout")," to show them in your workspace."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit checkout latest --all\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"successfully switched the following components to their latest version\n\nteambit.harmony/content/aspects-overview@1.0.0\n updated aspect-graph.ts \n updated aspects-overview.composition.tsx \n updated aspects-overview.docs.mdx \n auto-merged aspects-overview.mdx \n updated composability.png \n updated index.ts \n"))))}g.__bit_component=r,g.isMDXComponent=!0},8271:(e,t,n)=>{"use strict";Object.defineProperty(t,"Ay",{enumerable:!0,get:function(){return r.default}});var r=o(n(4531));function o(e){return e&&e.__esModule?e:{default:e}}o.__bit_component={id:"teambit.component/content/component-overview@1.95.0",homepage:"https://bit.dev/teambit/component/content/component-overview",exported:!0}},7603:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.aspectGraph=void 0;var r=(0,n(8557).createBubbleGraph)([{id:"teambit.workspace/workspace@1.0.0",payload:{icon:"https://static.bit.dev/Community/icons/workspace-edit.svg"},dependencies:["teambit.scope/scope","teambit.harmony/logger","teambit.component/component"],col:2,position:"top-left"},{id:"teambit.scope/scope@1.0.1",dependencies:["teambit.component/component"],payload:{icon:"https://static.bit.dev/Community/icons/collection.svg"},col:5,position:"top-left"},{id:"teambit.component/component@1.0.1",dependencies:["teambit.harmony/logger"],payload:{icon:"https://static.bit.dev/Community/icons/workspace.svg"},row:5,col:2,position:"top-left"},{id:"teambit.harmony/logger@1.0.1",dependencies:[],payload:{icon:"https://static.bit.dev/Community/icons/aspect.svg"},row:5,col:1,position:"top-left"}]);t.aspectGraph=r},621:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Image:()=>m});var r=n(1594),o=n.n(r),i=n(9685),a=n.n(i);n(8552);const u=ReactDom;var s=n(1084),c=n(4843),l=n(7046),f=function(e){return e+"ms"},p={getBoundingClientRect:function(){return{height:0,left:0,top:0,width:0}},style:{transform:null}},h=(0,r.memo)((function(e){var t=e.children,n=e.closeText,i=void 0===n?"Unzoom Image":n,a=e.onUnload,h=e.onLoad,d=e.overlayBgColorEnd,v=void 0===d?"rgba(255, 255, 255, 0.95)":d,m=e.overlayBgColorStart,g=void 0===m?"rgba(255, 255, 255, 0)":m,_=e.parentRef,y=e.portalEl,b=void 0===y?document.body:y,w=e.scrollableEl,E=void 0===w?window:w,x=e.transitionDuration,O=void 0===x?300:x,I=e.zoomMargin,S=void 0===I?0:I,N=e.zoomZindex,R=void 0===N?2147483647:N,A=(0,r.useRef)(null),j=(0,r.useState)(0)[1],T=(0,r.useState)(!1),$=T[0],L=T[1],P=(0,r.useState)(!1),C=P[0],M=P[1],k=(0,c.A)(),D=k.width,z=k.height,V=(0,r.useCallback)((function(e){e.preventDefault(),M(!0)}),[]),B=(0,r.useCallback)((function(e){"Escape"!==e.key&&27!==e.keyCode||(e.stopPropagation(),M(!0))}),[]),F=(0,r.useCallback)((function(){j((function(e){return e+1})),C||M(!0)}),[C]);(0,s.A)("keydown",B,document),(0,s.A)("scroll",F,E),(0,r.useEffect)((function(){L(!0),h(),A.current&&A.current.focus({preventScroll:!0})}),[h]),(0,r.useEffect)((function(){var e=C?setTimeout(a,O):null;return function(){e&&clearTimeout(e)}}),[C,a,O]);var G=_.current||p,U=G.getBoundingClientRect(),W=U.height,X=U.left,H=U.top,q=U.width,Z=function(e){var t=e.isLoaded,n=e.isUnloading,r=e.overlayBgColorEnd,o=e.zoomZindex,i={backgroundColor:e.overlayBgColorStart,transitionDuration:f(e.transitionDuration),zIndex:o};return t&&!n&&(i.backgroundColor=r),i}({isLoaded:$,isUnloading:C,overlayBgColorEnd:v,overlayBgColorStart:g,transitionDuration:O,zoomZindex:R}),Y=function(e){var t=e.height,n=e.innerHeight,r=e.innerWidth,o=e.isLoaded,i=e.isUnloading,a=e.left,u=e.originalTransform,s=e.top,c=e.transitionDuration,p=e.width,h=e.zoomMargin,d=f(c);if(!o||i){var v=(0,l.__spreadArrays)(["scale(1)","translate(0, 0)"],u?[u]:[]).join(" ");return{height:t,left:a,top:s,transform:v,WebkitTransform:v,transitionDuration:d,width:p}}var m=function(e){var t=e.zoomMargin,n=e.innerWidth/(e.width+t),r=e.innerHeight/(e.height+t);return Math.min(n,r)}({height:t,innerWidth:r,innerHeight:n,width:p,zoomMargin:h}),g=(r/2-(a+p/2))/m,_=(n/2-(s+t/2))/m,y=(0,l.__spreadArrays)(["scale("+m+")","translate("+g+"px, "+_+"px)"],u?[u]:[]).join(" ");return{height:t,left:a,top:s,transform:y,WebkitTransform:y,transitionDuration:d,width:p}}({height:W,isLoaded:$,innerHeight:z,innerWidth:D,isUnloading:C,left:X,originalTransform:G.style.transform,top:H,transitionDuration:O,width:q,zoomMargin:S});return(0,u.createPortal)(o().createElement("div",{"aria-modal":!0,"data-rmiz-overlay":!0,role:"dialog",style:Z},o().createElement("div",{"data-rmiz-modal-content":!0,style:Y},t),o().createElement("button",{"aria-label":i,"data-rmiz-btn-close":!0,onClick:V,ref:A})),b)}));const d=(0,r.memo)((function(e){var t=e.children,n=e.closeText,i=void 0===n?"Unzoom image":n,a=e.overlayBgColorEnd,u=void 0===a?"rgba(255, 255, 255, 0.95)":a,s=e.overlayBgColorStart,c=void 0===s?"rgba(255, 255, 255, 0)":s,l=e.portalEl,f=e.openText,p=void 0===f?"Zoom image":f,d=e.scrollableEl,v=e.transitionDuration,m=void 0===v?300:v,g=e.wrapElement,_=void 0===g?"div":g,y=e.wrapStyle,b=e.zoomMargin,w=void 0===b?0:b,E=e.zoomZindex,x=void 0===E?2147483647:E,O=(0,r.useState)(!1),I=O[0],S=O[1],N=(0,r.useState)(!1),R=N[0],A=N[1],j=(0,r.useRef)(null),T=(0,r.useRef)(null),$=(0,r.useCallback)((function(e){I||(e.preventDefault(),S(!0))}),[I]),L=(0,r.useCallback)((function(){A(!0)}),[]),P=(0,r.useCallback)((function(){S(!1),A(!1),T.current&&T.current.focus({preventScroll:!0})}),[]),C=I&&R?"hidden":"visible";return o().createElement(r.StrictMode,null,o().createElement(_,{"data-rmiz-wrap":C,ref:j,style:y},t,o().createElement("button",{"aria-label":p,"data-rmiz-btn-open":!0,onClick:$,ref:T}),"undefined"!=typeof window&&I&&o().createElement(h,{closeText:i,onLoad:L,onUnload:P,overlayBgColorEnd:u,overlayBgColorStart:c,parentRef:j,portalEl:l,scrollableEl:d,transitionDuration:m,zoomMargin:w,zoomZindex:x},t)))}));var v=n(5559);const m=e=>{var{center:t=!0,width:n,alt:r,src:i,className:u}=e,s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["center","width","alt","src","className"]);return o().createElement("div",{style:{width:n||"100%"},className:a()(t&&"image_center__6-xCb",u)},o().createElement(d,null,o().createElement(v.BaseImage,Object.assign({fullWidth:!0,alt:r,src:i},s))))};m.__bit_component={id:"teambit.docs/ui/zoomable-image@1.95.0",homepage:"https://bit.dev/teambit/docs/ui/zoomable-image",exported:!0}},864:(e,t,n)=>{"use strict";var r={id:"teambit.component/component@1.0.514",homepage:"https://bit.cloud/teambit/component/component",exported:!0};function o(){const e=i(n(1594));return o=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,o.__bit_component=r,i.__bit_component=r;const a=()=>o().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},o().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/bit-icons/components.svg"}));a.__bit_component=r,t.Logo=a},6006:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={fullWidth:"image_fullWidth__sELLz"}},1417:(e,t,n)=>{"use strict";var r=n(1970);function o(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function i(e,t){for(var n,r="",o=0,i=-1,a=0,u=0;u<=e.length;++u){if(u<e.length)n=e.charCodeAt(u);else{if(47===n)break;n=47}if(47===n){if(i===u-1||1===a);else if(i!==u-1&&2===a){if(r.length<2||2!==o||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var s=r.lastIndexOf("/");if(s!==r.length-1){-1===s?(r="",o=0):o=(r=r.slice(0,s)).length-1-r.lastIndexOf("/"),i=u,a=0;continue}}else if(2===r.length||1===r.length){r="",o=0,i=u,a=0;continue}t&&(r.length>0?r+="/..":r="..",o=2)}else r.length>0?r+="/"+e.slice(i+1,u):r=e.slice(i+1,u),o=u-i-1;i=u,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var a={resolve:function(){for(var e,t="",n=!1,a=arguments.length-1;a>=-1&&!n;a--){var u;a>=0?u=arguments[a]:(void 0===e&&(e=r.cwd()),u=e),o(u),0!==u.length&&(t=u+"/"+t,n=47===u.charCodeAt(0))}return t=i(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(o(e),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=i(e,!t)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return o(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var n=arguments[t];o(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":a.normalize(e)},relative:function(e,t){if(o(e),o(t),e===t)return"";if((e=a.resolve(e))===(t=a.resolve(t)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var r=e.length,i=r-n,u=1;u<t.length&&47===t.charCodeAt(u);++u);for(var s=t.length-u,c=i<s?i:s,l=-1,f=0;f<=c;++f){if(f===c){if(s>c){if(47===t.charCodeAt(u+f))return t.slice(u+f+1);if(0===f)return t.slice(u+f)}else i>c&&(47===e.charCodeAt(n+f)?l=f:0===f&&(l=0));break}var p=e.charCodeAt(n+f);if(p!==t.charCodeAt(u+f))break;47===p&&(l=f)}var h="";for(f=n+l+1;f<=r;++f)f!==r&&47!==e.charCodeAt(f)||(0===h.length?h+="..":h+="/..");return h.length>0?h+t.slice(u+l):(u+=l,47===t.charCodeAt(u)&&++u,t.slice(u))},_makeLong:function(e){return e},dirname:function(e){if(o(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,a=e.length-1;a>=1;--a)if(47===(t=e.charCodeAt(a))){if(!i){r=a;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"//":e.slice(0,r)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');o(e);var n,r=0,i=-1,a=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var u=t.length-1,s=-1;for(n=e.length-1;n>=0;--n){var c=e.charCodeAt(n);if(47===c){if(!a){r=n+1;break}}else-1===s&&(a=!1,s=n+1),u>=0&&(c===t.charCodeAt(u)?-1==--u&&(i=n):(u=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!a){r=n+1;break}}else-1===i&&(a=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname:function(e){o(e);for(var t=-1,n=0,r=-1,i=!0,a=0,u=e.length-1;u>=0;--u){var s=e.charCodeAt(u);if(47!==s)-1===r&&(i=!1,r=u+1),46===s?-1===t?t=u:1!==a&&(a=1):-1!==t&&(a=-1);else if(!i){n=u+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+"/"+r:r}(0,e)},parse:function(e){o(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,r=e.charCodeAt(0),i=47===r;i?(t.root="/",n=1):n=0;for(var a=-1,u=0,s=-1,c=!0,l=e.length-1,f=0;l>=n;--l)if(47!==(r=e.charCodeAt(l)))-1===s&&(c=!1,s=l+1),46===r?-1===a?a=l:1!==f&&(f=1):-1!==a&&(f=-1);else if(!c){u=l+1;break}return-1===a||-1===s||0===f||1===f&&a===s-1&&a===u+1?-1!==s&&(t.base=t.name=0===u&&i?e.slice(1,s):e.slice(u,s)):(0===u&&i?(t.name=e.slice(1,a),t.base=e.slice(1,s)):(t.name=e.slice(u,a),t.base=e.slice(u,s)),t.ext=e.slice(a,s)),u>0?t.dir=e.slice(0,u-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,e.exports=a},1970:e=>{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var u,s=[],c=!1,l=-1;function f(){c&&u&&(c=!1,u.length?s=u.concat(s):l=-1,s.length&&p())}function p(){if(!c){var e=a(f);c=!0;for(var t=s.length;t;){for(u=s,s=[];++l<t;)u&&u[l].run();l=-1,t=s.length}u=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function d(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||c||a(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=d,r.addListener=d,r.once=d,r.off=d,r.removeListener=d,r.removeAllListeners=d,r.emit=d,r.prependListener=d,r.prependOnceListener=d,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},742:(e,t,n)=>{"use strict";e.exports=n.p+"static/images/348e1dfebd0d5a35a5e6.png"},9263:(e,t,n)=>{"use strict";e.exports=n.p+"static/images/37978a86e2f81f41863e.png"},5016:e=>{"use strict";e.exports=MdxJsReact},1594:e=>{"use strict";e.exports=React},5682:e=>{"use strict";e.exports=TeambitMdxUiMdxScopeContext},7046:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>C,__assign:()=>i,__asyncDelegator:()=>I,__asyncGenerator:()=>O,__asyncValues:()=>S,__await:()=>x,__awaiter:()=>d,__classPrivateFieldGet:()=>$,__classPrivateFieldIn:()=>P,__classPrivateFieldSet:()=>L,__createBinding:()=>m,__decorate:()=>u,__disposeResources:()=>k,__esDecorate:()=>c,__exportStar:()=>g,__extends:()=>o,__generator:()=>v,__importDefault:()=>T,__importStar:()=>j,__makeTemplateObject:()=>N,__metadata:()=>h,__param:()=>s,__propKey:()=>f,__read:()=>y,__rest:()=>a,__rewriteRelativeImportExtension:()=>D,__runInitializers:()=>l,__setFunctionName:()=>p,__spread:()=>b,__spreadArray:()=>E,__spreadArrays:()=>w,__values:()=>_,default:()=>z});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function u(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function s(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var u,s=r.kind,c="getter"===s?"get":"setter"===s?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),p=!1,h=n.length-1;h>=0;h--){var d={};for(var v in r)d[v]="access"===v?{}:r[v];for(var v in r.access)d.access[v]=r.access[v];d.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var m=(0,n[h])("accessor"===s?{get:f.get,set:f.set}:f[c],d);if("accessor"===s){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw new TypeError("Object expected");(u=a(m.get))&&(f.get=u),(u=a(m.set))&&(f.set=u),(u=a(m.init))&&o.unshift(u)}else(u=a(m))&&("field"===s?o.unshift(u):f[c]=u)}l&&Object.defineProperty(l,r.name,f),p=!0}function l(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function v(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=u(0),a.throw=u(1),a.return=u(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}var m=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function g(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||m(t,e,n)}function _(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}function w(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,u=i.length;a<u;a++,o++)r[o]=i[a];return r}function E(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function O(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",(function(e){return function(t){return Promise.resolve(t).then(e,c)}})),r[Symbol.asyncIterator]=function(){return this},r;function a(e,t){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||u(e,t)}))},t&&(r[e]=t(r[e])))}function u(e,t){try{(n=o[e](t)).value instanceof x?Promise.resolve(n.value.v).then(s,c):l(i[0][2],n)}catch(e){l(i[0][3],e)}var n}function s(e){u("next",e)}function c(e){u("throw",e)}function l(e,t){e(t),i.shift(),i.length&&u(i[0][0],i[0][1])}}function I(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:o?o(t):t}:o}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=_(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}function N(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var R=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},A=function(e){return A=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},A(e)};function j(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=A(e),r=0;r<n.length;r++)"default"!==n[r]&&m(t,e,n[r]);return R(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function $(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function P(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function C(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var M="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function k(e){function t(t){e.error=e.hasError?new M(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function o(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(o);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(o,(function(e){return t(e),o()}))}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function D(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,n,r,o,i){return n?t?".jsx":".js":!r||o&&i?r+o+"."+i.toLowerCase()+"js":e})):e}const z={__extends:o,__assign:i,__rest:a,__decorate:u,__param:s,__esDecorate:c,__runInitializers:l,__propKey:f,__setFunctionName:p,__metadata:h,__awaiter:d,__generator:v,__createBinding:m,__exportStar:g,__values:_,__read:y,__spread:b,__spreadArrays:w,__spreadArray:E,__await:x,__asyncGenerator:O,__asyncDelegator:I,__asyncValues:S,__makeTemplateObject:N,__importStar:j,__importDefault:T,__classPrivateFieldGet:$,__classPrivateFieldSet:L,__classPrivateFieldIn:P,__addDisposableResource:C,__disposeResources:k,__rewriteRelativeImportExtension:D}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var r={};return(()=>{"use strict";n.r(r),n.d(r,{compositions:()=>p,compositions_metadata:()=>d,overview:()=>h});var e={};n.r(e),n.d(e,{default:()=>f});var t=n(864),o=(n(1594),n(5016)),i=n(5682),a=n(8271),u=["components"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(null,arguments)}var c={},l="wrapper";function f(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,u);return(0,o.mdx)(l,s({},c,n,{components:t,mdxType:"MDXLayout"}),(0,o.mdx)(i.MDXScopeProvider,{components:{ComponentOverview:a.Ay},mdxType:"MDXScopeProvider"},(0,o.mdx)(a.Ay,{mdxType:"ComponentOverview"})))}f.isMDXComponent=!0;const p=[t],h=[e],d={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/component-preview"]=t():e["teambit.component/component-preview"]=t()}(self,(()=>(()=>{var e={4390:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},5711:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}}},8220:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION_DELIMITER=void 0;const u=a(n(524)),s=i(n(1417)),c=i(n(9109)),l=n(632),f=n(3309),p=a(n(7730)),h=a(n(8435)),d=n(3466);t.VERSION_DELIMITER="@";class v{constructor({scope:e,box:t,name:n,version:r}){if(!n)throw new d.InvalidName(n);this.scope=e||null,this.box=void 0,this.name=t?`${t}/${n}`:n,this.version=r||void 0,Object.freeze(this)}clone(){return new v(this)}changeScope(e){return new v({scope:e,name:this.name,version:this.version})}changeVersion(e){return new v({scope:this.scope,name:this.name,version:e})}isLocal(e){return!this.scope||Boolean(e&&e===this.scope)}getVersion(){return(0,f.versionParser)(this.version)}hasVersion(){return Boolean(this.version&&this.version!==f.LATEST_VERSION)}hasScope(){return Boolean(this.scope)}hasSameName(e){return this.name===e.name}hasSameScope(e){return this.hasScope()&&e.hasScope()?this.scope===e.scope:!this.hasScope()&&!e.hasScope()}hasSameVersion(e){return this.hasVersion()&&e.hasVersion()?this.version===e.version:!this.hasVersion()&&!e.hasVersion()}toString(e=!1,n=!1){const{name:r,version:o}=this,i=this.scope,a=e||!i?r:[i,r].join("/");return n||!this.hasVersion()?a:a.concat(`${t.VERSION_DELIMITER}${o}`)}toStringWithoutScope(){return this.toString(!0)}toStringWithoutVersion(){return this.toString(!1,!0)}toStringWithoutScopeAndVersion(){return this.toString(!0,!0)}isEqual(e){return this.hasSameName(e)&&this.hasSameScope(e)&&this.hasSameVersion(e)}isEqualWithoutVersion(e){return this.hasSameName(e)&&this.hasSameScope(e)}isEqualWithoutScopeAndVersion(e){return this.hasSameName(e)}serialize(){const e={scope:this.scope,name:this.name,version:this.version};return this.hasVersion()||delete e.version,this.hasScope()||delete e.scope,e}toFullPath(){if(!this.scope||!this.version)throw new Error("BitId.toFullPath is unable to generate a path without a scope or a version");return s.join(this.name,this.scope,this.version)}isVersionSnap(){return(0,f.isHash)(this.version)}getVersionPreReleaseData(){return this.version?c.prerelease(this.version):null}static getStringWithoutVersion(e){const n=e.split(t.VERSION_DELIMITER);let r=n[0];return e.startsWith(t.VERSION_DELIMITER)&&(r=`${t.VERSION_DELIMITER}${n[1]}`),r}static getVersionOnlyFromString(e){return e.split(t.VERSION_DELIMITER)[1]}static parse(e,n=!0,r=f.LATEST_VERSION){if("string"!=typeof e)throw new TypeError('BitId.parse expects to get "id" as a string, instead, got '+typeof e);if(e.includes(t.VERSION_DELIMITER)&&e.lastIndexOf(t.VERSION_DELIMITER)>0){const[n,o]=e.split(t.VERSION_DELIMITER);e=n,r=o}const{scope:o,name:i}=n?v.getScopeAndName(e):{scope:void 0,name:e};if(!(0,p.default)(i))throw new d.InvalidName(i);if(o&&!(0,h.default)(o))throw new d.InvalidScopeName(o,e);return new v({scope:o,name:i,version:r})}static getScopeAndName(e){const t=e.indexOf("/");if(t<0)throw new d.InvalidBitId(e);return{scope:e.substring(0,t),name:e.substring(t+1)}}static parseObsolete(e,n=f.LATEST_VERSION){if(e.includes(t.VERSION_DELIMITER)){const[r,o]=e.split(t.VERSION_DELIMITER);e=r,n=o}const r=e.split("/");if(3===r.length){const[e,t,o]=r;if(!(0,p.default)(o,!1)||!(0,p.default)(t,!1)||!(0,h.default)(e))throw new d.InvalidIdChunk(`${e}/${t}/${o}`);return new v({scope:e,box:t,name:o,version:n})}if(2===r.length){const[e,t]=r;if(!(0,p.default)(t,!1)||!(0,p.default)(e,!1))throw new d.InvalidIdChunk(`${e}/${t}`);return new v({box:e,name:t,version:n})}if(1===r.length){const[e]=r;if(!(0,p.default)(e))throw new d.InvalidIdChunk(e);return new v({name:e,version:n})}throw new d.InvalidBitId(e)}static parseBackwardCompatible(e){return"string"==typeof e?v.parseObsolete(e):new v(e)}static getValidScopeName(e){let t=e.toLowerCase().split("").map((e=>/^[$\-_!.a-z0-9]+$/.test(e)?e:"")).join("");const n=t.split(".");if(n.length>1&&(t=`${(0,l.head)(n)}.${(0,l.tail)(n).join("")}`),!t)throw new Error("scope name created by directory name have to contains at least one character or number");return t}static getValidIdChunk(e){return(0,p.default)(e)||(e=(e=e.replace(/\./g,"")).replace(/ /g,"-"),e=(0,u.default)(e,"-")),e}static getValidBitId(e,t){return new v({name:v.getValidIdChunk(t),box:e?v.getValidIdChunk(e):void 0})}static isValidVersion(e){return v.isValidSemver(e)||(0,f.isHash)(e)}static isValidSemver(e){return Boolean(c.valid(e))}}t.default=v},3466:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidScopeName=t.InvalidName=t.InvalidIdChunk=t.InvalidBitId=void 0;const o=r(n(2125));t.InvalidBitId=o.default;const i=r(n(3403));t.InvalidIdChunk=i.default;const a=r(n(7521));t.InvalidName=a.default;const u=r(n(2730));t.InvalidScopeName=u.default},2125:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8410);class o extends r.BitError{constructor(e){super(`error: component ID "${e}" is invalid, please use the following format: [scope]/<name>`)}}t.default=o},3403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8410);class o extends r.BitError{constructor(e){super(`error: "${e}" is invalid, component IDs can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}t.default=o},7521:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8410);class o extends r.BitError{constructor(e){super(`error: "${e}" is invalid, component names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!", "/"]`)}}t.default=o},2730:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8410);class o extends r.BitError{constructor(e,t,n){super(`error: "${t||e}" ${n?`configured in variant "${n}" `:""}is invalid, component scope names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}t.default=o},824:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidScopeName=t.InvalidName=t.isValidScopeName=t.VERSION_DELIMITER=t.BitId=void 0;const u=i(n(8220));t.BitId=u.default,Object.defineProperty(t,"VERSION_DELIMITER",{enumerable:!0,get:function(){return u.VERSION_DELIMITER}});const s=n(3466);Object.defineProperty(t,"InvalidName",{enumerable:!0,get:function(){return s.InvalidName}}),Object.defineProperty(t,"InvalidScopeName",{enumerable:!0,get:function(){return s.InvalidScopeName}});const c=a(n(8435));t.isValidScopeName=c.default},7730:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=/^[-_a-z0-9/]+$/,r=/^[-_a-z0-9]+$/;t.default=function(e,t=!0){return"string"==typeof e&&!e.includes("//")&&(t?n:r).test(e)}},8435:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=/^[$\-_!a-z0-9]+[.]?[$\-_!a-z0-9]+$/;t.default=function(e){return"string"==typeof e&&n.test(e)}},8443:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===i)for(var u in n)r.call(n,u)&&n[u]&&e.push(u)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},9685:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var u in n)r.call(n,u)&&n[u]&&e.push(u);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},524:e=>{"use strict";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("Expected a string");return t=void 0===t?"_":t,e.replace(/([a-z\d])([A-Z])/g,"$1"+t+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+t+"$2").toLowerCase()}},8552:()=>{!function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof HTMLElement){var e=!1;try{var t=document.createElement("div");t.addEventListener("focus",(function(e){e.preventDefault(),e.stopPropagation()}),!0),t.focus(Object.defineProperty({},"preventScroll",{get:function(){e=!0}}))}catch(e){}void 0!==HTMLElement.prototype.nativeFocus||e||(HTMLElement.prototype.nativeFocus=HTMLElement.prototype.focus,HTMLElement.prototype.focus=function(e){var t=window.scrollY||window.pageYOffset;this.nativeFocus(),e&&e.preventScroll&&setTimeout((function(){window.scroll(window.scrollX||window.pageXOffset,t)}),0)})}}()},632:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",u="__lodash_placeholder__",s=32,c=128,l=1/0,f=9007199254740991,p=NaN,h=4294967295,d=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",s],["partialRight",64],["rearg",256]],v="[object Arguments]",m="[object Array]",g="[object Boolean]",_="[object Date]",y="[object Error]",b="[object Function]",w="[object GeneratorFunction]",E="[object Map]",x="[object Number]",O="[object Object]",I="[object Promise]",S="[object RegExp]",N="[object Set]",R="[object String]",A="[object Symbol]",j="[object WeakMap]",T="[object ArrayBuffer]",$="[object DataView]",L="[object Float32Array]",P="[object Float64Array]",C="[object Int8Array]",M="[object Int16Array]",k="[object Int32Array]",D="[object Uint8Array]",z="[object Uint8ClampedArray]",V="[object Uint16Array]",B="[object Uint32Array]",F=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,U=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,H=RegExp(W.source),q=RegExp(X.source),Z=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,oe=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,se=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,le=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,he=/^[-+]0x[0-9a-f]+$/i,de=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ge=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ye=/($^)/,be=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",Ee="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\u2700-\\u27bf",Oe="a-z\\xdf-\\xf6\\xf8-\\xff",Ie="A-Z\\xc0-\\xd6\\xd8-\\xde",Se="\\ufe0e\\ufe0f",Ne="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Re="["+we+"]",Ae="["+Ne+"]",je="["+Ee+"]",Te="\\d+",$e="["+xe+"]",Le="["+Oe+"]",Pe="[^"+we+Ne+Te+xe+Oe+Ie+"]",Ce="\\ud83c[\\udffb-\\udfff]",Me="[^"+we+"]",ke="(?:\\ud83c[\\udde6-\\uddff]){2}",De="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Ie+"]",Ve="\\u200d",Be="(?:"+Le+"|"+Pe+")",Fe="(?:"+ze+"|"+Pe+")",Ge="(?:['’](?:d|ll|m|re|s|t|ve))?",Ue="(?:['’](?:D|LL|M|RE|S|T|VE))?",We="(?:"+je+"|"+Ce+")?",Xe="["+Se+"]?",He=Xe+We+"(?:"+Ve+"(?:"+[Me,ke,De].join("|")+")"+Xe+We+")*",qe="(?:"+[$e,ke,De].join("|")+")"+He,Ze="(?:"+[Me+je+"?",je,ke,De,Re].join("|")+")",Ye=RegExp("['’]","g"),Ke=RegExp(je,"g"),Je=RegExp(Ce+"(?="+Ce+")|"+Ze+He,"g"),Qe=RegExp([ze+"?"+Le+"+"+Ge+"(?="+[Ae,ze,"$"].join("|")+")",Fe+"+"+Ue+"(?="+[Ae,ze+Be,"$"].join("|")+")",ze+"?"+Be+"+"+Ge,ze+"+"+Ue,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Te,qe].join("|"),"g"),et=RegExp("["+Ve+we+Ee+Se+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,ot={};ot[L]=ot[P]=ot[C]=ot[M]=ot[k]=ot[D]=ot[z]=ot[V]=ot[B]=!0,ot[v]=ot[m]=ot[T]=ot[g]=ot[$]=ot[_]=ot[y]=ot[b]=ot[E]=ot[x]=ot[O]=ot[S]=ot[N]=ot[R]=ot[j]=!1;var it={};it[v]=it[m]=it[T]=it[$]=it[g]=it[_]=it[L]=it[P]=it[C]=it[M]=it[k]=it[E]=it[x]=it[O]=it[S]=it[N]=it[R]=it[A]=it[D]=it[z]=it[V]=it[B]=!0,it[y]=it[b]=it[j]=!1;var at={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,st=parseInt,ct="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,lt="object"==typeof self&&self&&self.Object===Object&&self,ft=ct||lt||Function("return this")(),pt=t&&!t.nodeType&&t,ht=pt&&e&&!e.nodeType&&e,dt=ht&&ht.exports===pt,vt=dt&&ct.process,mt=function(){try{return ht&&ht.require&&ht.require("util").types||vt&&vt.binding&&vt.binding("util")}catch(e){}}(),gt=mt&&mt.isArrayBuffer,_t=mt&&mt.isDate,yt=mt&&mt.isMap,bt=mt&&mt.isRegExp,wt=mt&&mt.isSet,Et=mt&&mt.isTypedArray;function xt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ot(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function It(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function St(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Nt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Rt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function At(e,t){return!(null==e||!e.length)&&zt(e,t,0)>-1}function jt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Tt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function $t(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Lt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Pt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Mt=Gt("length");function kt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Dt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function zt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Dt(e,Bt,n)}function Vt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Bt(e){return e!=e}function Ft(e,t){var n=null==e?0:e.length;return n?Xt(e,t)/n:p}function Gt(e){return function(t){return null==t?o:t[e]}}function Ut(e){return function(t){return null==e?o:e[t]}}function Wt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Xt(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function Ht(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function qt(e){return e?e.slice(0,pn(e)+1).replace(re,""):e}function Zt(e){return function(t){return e(t)}}function Yt(e,t){return Tt(t,(function(t){return e[t]}))}function Kt(e,t){return e.has(t)}function Jt(e,t){for(var n=-1,r=e.length;++n<r&&zt(t,e[n],0)>-1;);return n}function Qt(e,t){for(var n=e.length;n--&&zt(t,e[n],0)>-1;);return n}var en=Ut({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tn=Ut({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function nn(e){return"\\"+at[e]}function rn(e){return et.test(e)}function on(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function an(e,t){return function(n){return e(t(n))}}function un(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==u||(e[n]=u,i[o++]=n)}return i}function sn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function ln(e){return rn(e)?function(e){for(var t=Je.lastIndex=0;Je.test(e);)++t;return t}(e):Mt(e)}function fn(e){return rn(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.split("")}(e)}function pn(e){for(var t=e.length;t--&&oe.test(e.charAt(t)););return t}var hn=Ut({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),dn=function e(t){var n,r=(t=null==t?ft:dn.defaults(ft.Object(),t,dn.pick(ft,nt))).Array,oe=t.Date,we=t.Error,Ee=t.Function,xe=t.Math,Oe=t.Object,Ie=t.RegExp,Se=t.String,Ne=t.TypeError,Re=r.prototype,Ae=Ee.prototype,je=Oe.prototype,Te=t["__core-js_shared__"],$e=Ae.toString,Le=je.hasOwnProperty,Pe=0,Ce=(n=/[^.]+$/.exec(Te&&Te.keys&&Te.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Me=je.toString,ke=$e.call(Oe),De=ft._,ze=Ie("^"+$e.call(Le).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=dt?t.Buffer:o,Be=t.Symbol,Fe=t.Uint8Array,Ge=Ve?Ve.allocUnsafe:o,Ue=an(Oe.getPrototypeOf,Oe),We=Oe.create,Xe=je.propertyIsEnumerable,He=Re.splice,qe=Be?Be.isConcatSpreadable:o,Ze=Be?Be.iterator:o,Je=Be?Be.toStringTag:o,et=function(){try{var e=ci(Oe,"defineProperty");return e({},"",{}),e}catch(e){}}(),at=t.clearTimeout!==ft.clearTimeout&&t.clearTimeout,ct=oe&&oe.now!==ft.Date.now&&oe.now,lt=t.setTimeout!==ft.setTimeout&&t.setTimeout,pt=xe.ceil,ht=xe.floor,vt=Oe.getOwnPropertySymbols,mt=Ve?Ve.isBuffer:o,Mt=t.isFinite,Ut=Re.join,vn=an(Oe.keys,Oe),mn=xe.max,gn=xe.min,_n=oe.now,yn=t.parseInt,bn=xe.random,wn=Re.reverse,En=ci(t,"DataView"),xn=ci(t,"Map"),On=ci(t,"Promise"),In=ci(t,"Set"),Sn=ci(t,"WeakMap"),Nn=ci(Oe,"create"),Rn=Sn&&new Sn,An={},jn=ki(En),Tn=ki(xn),$n=ki(On),Ln=ki(In),Pn=ki(Sn),Cn=Be?Be.prototype:o,Mn=Cn?Cn.valueOf:o,kn=Cn?Cn.toString:o;function Dn(e){if(eu(e)&&!Ga(e)&&!(e instanceof Fn)){if(e instanceof Bn)return e;if(Le.call(e,"__wrapped__"))return Di(e)}return new Bn(e)}var zn=function(){function e(){}return function(t){if(!Qa(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Vn(){}function Bn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Fn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Wn;++t<n;)this.add(e[t])}function Hn(e){var t=this.__data__=new Un(e);this.size=t.size}function qn(e,t){var n=Ga(e),r=!n&&Fa(e),o=!n&&!r&&Ha(e),i=!n&&!r&&!o&&su(e),a=n||r||o||i,u=a?Ht(e.length,Se):[],s=u.length;for(var c in e)!t&&!Le.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||mi(c,s))||u.push(c);return u}function Zn(e){var t=e.length;return t?e[Wr(0,t-1)]:o}function Yn(e,t){return $i(No(e),ir(t,0,e.length))}function Kn(e){return $i(No(e))}function Jn(e,t,n){(n!==o&&!za(e[t],n)||n===o&&!(t in e))&&rr(e,t,n)}function Qn(e,t,n){var r=e[t];Le.call(e,t)&&za(r,n)&&(n!==o||t in e)||rr(e,t,n)}function er(e,t){for(var n=e.length;n--;)if(za(e[n][0],t))return n;return-1}function tr(e,t,n,r){return lr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function nr(e,t){return e&&Ro(t,ju(t),e)}function rr(e,t,n){"__proto__"==t&&et?et(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function or(e,t){for(var n=-1,i=t.length,a=r(i),u=null==e;++n<i;)a[n]=u?o:Iu(e,t[n]);return a}function ir(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function ar(e,t,n,r,i,a){var u,s=1&t,c=2&t,l=4&t;if(n&&(u=i?n(e,r,i,a):n(e)),u!==o)return u;if(!Qa(e))return e;var f=Ga(e);if(f){if(u=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!s)return No(e,u)}else{var p=pi(e),h=p==b||p==w;if(Ha(e))return wo(e,s);if(p==O||p==v||h&&!i){if(u=c||h?{}:di(e),!s)return c?function(e,t){return Ro(e,fi(e),t)}(e,function(e,t){return e&&Ro(t,Tu(t),e)}(u,e)):function(e,t){return Ro(e,li(e),t)}(e,nr(u,e))}else{if(!it[p])return i?e:{};u=function(e,t,n){var r,o=e.constructor;switch(t){case T:return Eo(e);case g:case _:return new o(+e);case $:return function(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case P:case C:case M:case k:case D:case z:case V:case B:return xo(e,n);case E:return new o;case x:case R:return new o(e);case S:return function(e){var t=new e.constructor(e.source,pe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case N:return new o;case A:return r=e,Mn?Oe(Mn.call(r)):{}}}(e,p,s)}}a||(a=new Hn);var d=a.get(e);if(d)return d;a.set(e,u),iu(e)?e.forEach((function(r){u.add(ar(r,t,n,r,e,a))})):tu(e)&&e.forEach((function(r,o){u.set(o,ar(r,t,n,o,e,a))}));var m=f?o:(l?c?ni:ti:c?Tu:ju)(e);return It(m||e,(function(r,o){m&&(r=e[o=r]),Qn(u,o,ar(r,t,n,o,e,a))})),u}function ur(e,t,n){var r=n.length;if(null==e)return!r;for(e=Oe(e);r--;){var i=n[r],a=t[i],u=e[i];if(u===o&&!(i in e)||!a(u))return!1}return!0}function sr(e,t,n){if("function"!=typeof e)throw new Ne(i);return Ri((function(){e.apply(o,n)}),t)}function cr(e,t,n,r){var o=-1,i=At,a=!0,u=e.length,s=[],c=t.length;if(!u)return s;n&&(t=Tt(t,Zt(n))),r?(i=jt,a=!1):t.length>=200&&(i=Kt,a=!1,t=new Xn(t));e:for(;++o<u;){var l=e[o],f=null==n?l:n(l);if(l=r||0!==l?l:0,a&&f==f){for(var p=c;p--;)if(t[p]===f)continue e;s.push(l)}else i(t,f,r)||s.push(l)}return s}Dn.templateSettings={escape:Z,evaluate:Y,interpolate:K,variable:"",imports:{_:Dn}},Dn.prototype=Vn.prototype,Dn.prototype.constructor=Dn,Bn.prototype=zn(Vn.prototype),Bn.prototype.constructor=Bn,Fn.prototype=zn(Vn.prototype),Fn.prototype.constructor=Fn,Gn.prototype.clear=function(){this.__data__=Nn?Nn(null):{},this.size=0},Gn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Gn.prototype.get=function(e){var t=this.__data__;if(Nn){var n=t[e];return n===a?o:n}return Le.call(t,e)?t[e]:o},Gn.prototype.has=function(e){var t=this.__data__;return Nn?t[e]!==o:Le.call(t,e)},Gn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Nn&&t===o?a:t,this},Un.prototype.clear=function(){this.__data__=[],this.size=0},Un.prototype.delete=function(e){var t=this.__data__,n=er(t,e);return!(n<0||(n==t.length-1?t.pop():He.call(t,n,1),--this.size,0))},Un.prototype.get=function(e){var t=this.__data__,n=er(t,e);return n<0?o:t[n][1]},Un.prototype.has=function(e){return er(this.__data__,e)>-1},Un.prototype.set=function(e,t){var n=this.__data__,r=er(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Wn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(xn||Un),string:new Gn}},Wn.prototype.delete=function(e){var t=ui(this,e).delete(e);return this.size-=t?1:0,t},Wn.prototype.get=function(e){return ui(this,e).get(e)},Wn.prototype.has=function(e){return ui(this,e).has(e)},Wn.prototype.set=function(e,t){var n=ui(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(e){return this.__data__.set(e,a),this},Xn.prototype.has=function(e){return this.__data__.has(e)},Hn.prototype.clear=function(){this.__data__=new Un,this.size=0},Hn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Hn.prototype.get=function(e){return this.__data__.get(e)},Hn.prototype.has=function(e){return this.__data__.has(e)},Hn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Un){var r=n.__data__;if(!xn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Wn(r)}return n.set(e,t),this.size=n.size,this};var lr=To(_r),fr=To(yr,!0);function pr(e,t){var n=!0;return lr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function hr(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],u=t(a);if(null!=u&&(s===o?u==u&&!uu(u):n(u,s)))var s=u,c=a}return c}function dr(e,t){var n=[];return lr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function vr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=vi),o||(o=[]);++i<a;){var u=e[i];t>0&&n(u)?t>1?vr(u,t-1,n,r,o):$t(o,u):r||(o[o.length]=u)}return o}var mr=$o(),gr=$o(!0);function _r(e,t){return e&&mr(e,t,ju)}function yr(e,t){return e&&gr(e,t,ju)}function br(e,t){return Rt(t,(function(t){return Ya(e[t])}))}function wr(e,t){for(var n=0,r=(t=go(t,e)).length;null!=e&&n<r;)e=e[Mi(t[n++])];return n&&n==r?e:o}function Er(e,t,n){var r=t(e);return Ga(e)?r:$t(r,n(e))}function xr(e){return null==e?e===o?"[object Undefined]":"[object Null]":Je&&Je in Oe(e)?function(e){var t=Le.call(e,Je),n=e[Je];try{e[Je]=o;var r=!0}catch(e){}var i=Me.call(e);return r&&(t?e[Je]=n:delete e[Je]),i}(e):function(e){return Me.call(e)}(e)}function Or(e,t){return e>t}function Ir(e,t){return null!=e&&Le.call(e,t)}function Sr(e,t){return null!=e&&t in Oe(e)}function Nr(e,t,n){for(var i=n?jt:At,a=e[0].length,u=e.length,s=u,c=r(u),l=1/0,f=[];s--;){var p=e[s];s&&t&&(p=Tt(p,Zt(t))),l=gn(p.length,l),c[s]=!n&&(t||a>=120&&p.length>=120)?new Xn(s&&p):o}p=e[0];var h=-1,d=c[0];e:for(;++h<a&&f.length<l;){var v=p[h],m=t?t(v):v;if(v=n||0!==v?v:0,!(d?Kt(d,m):i(f,m,n))){for(s=u;--s;){var g=c[s];if(!(g?Kt(g,m):i(e[s],m,n)))continue e}d&&d.push(m),f.push(v)}}return f}function Rr(e,t,n){var r=null==(e=Ii(e,t=go(t,e)))?e:e[Mi(Zi(t))];return null==r?o:xt(r,e,n)}function Ar(e){return eu(e)&&xr(e)==v}function jr(e,t,n,r,i){return e===t||(null==e||null==t||!eu(e)&&!eu(t)?e!=e&&t!=t:function(e,t,n,r,i,a){var u=Ga(e),s=Ga(t),c=u?m:pi(e),l=s?m:pi(t),f=(c=c==v?O:c)==O,p=(l=l==v?O:l)==O,h=c==l;if(h&&Ha(e)){if(!Ha(t))return!1;u=!0,f=!1}if(h&&!f)return a||(a=new Hn),u||su(e)?Qo(e,t,n,r,i,a):function(e,t,n,r,o,i,a){switch(n){case $:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case T:return!(e.byteLength!=t.byteLength||!i(new Fe(e),new Fe(t)));case g:case _:case x:return za(+e,+t);case y:return e.name==t.name&&e.message==t.message;case S:case R:return e==t+"";case E:var u=on;case N:var s=1&r;if(u||(u=sn),e.size!=t.size&&!s)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var l=Qo(u(e),u(t),r,o,i,a);return a.delete(e),l;case A:if(Mn)return Mn.call(e)==Mn.call(t)}return!1}(e,t,c,n,r,i,a);if(!(1&n)){var d=f&&Le.call(e,"__wrapped__"),b=p&&Le.call(t,"__wrapped__");if(d||b){var w=d?e.value():e,I=b?t.value():t;return a||(a=new Hn),i(w,I,n,r,a)}}return!!h&&(a||(a=new Hn),function(e,t,n,r,i,a){var u=1&n,s=ti(e),c=s.length;if(c!=ti(t).length&&!u)return!1;for(var l=c;l--;){var f=s[l];if(!(u?f in t:Le.call(t,f)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var d=!0;a.set(e,t),a.set(t,e);for(var v=u;++l<c;){var m=e[f=s[l]],g=t[f];if(r)var _=u?r(g,m,f,t,e,a):r(m,g,f,e,t,a);if(!(_===o?m===g||i(m,g,n,r,a):_)){d=!1;break}v||(v="constructor"==f)}if(d&&!v){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(d=!1)}return a.delete(e),a.delete(t),d}(e,t,n,r,i,a))}(e,t,n,r,jr,i))}function Tr(e,t,n,r){var i=n.length,a=i,u=!r;if(null==e)return!a;for(e=Oe(e);i--;){var s=n[i];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){var c=(s=n[i])[0],l=e[c],f=s[1];if(u&&s[2]){if(l===o&&!(c in e))return!1}else{var p=new Hn;if(r)var h=r(l,f,c,e,t,p);if(!(h===o?jr(f,l,3,r,p):h))return!1}}return!0}function $r(e){return!(!Qa(e)||(t=e,Ce&&Ce in t))&&(Ya(e)?ze:ve).test(ki(e));var t}function Lr(e){return"function"==typeof e?e:null==e?ns:"object"==typeof e?Ga(e)?Dr(e[0],e[1]):kr(e):fs(e)}function Pr(e){if(!wi(e))return vn(e);var t=[];for(var n in Oe(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Cr(e,t){return e<t}function Mr(e,t){var n=-1,o=Wa(e)?r(e.length):[];return lr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function kr(e){var t=si(e);return 1==t.length&&t[0][2]?xi(t[0][0],t[0][1]):function(n){return n===e||Tr(n,e,t)}}function Dr(e,t){return _i(e)&&Ei(t)?xi(Mi(e),t):function(n){var r=Iu(n,e);return r===o&&r===t?Su(n,e):jr(t,r,3)}}function zr(e,t,n,r,i){e!==t&&mr(t,(function(a,u){if(i||(i=new Hn),Qa(a))!function(e,t,n,r,i,a,u){var s=Si(e,n),c=Si(t,n),l=u.get(c);if(l)Jn(e,n,l);else{var f=a?a(s,c,n+"",e,t,u):o,p=f===o;if(p){var h=Ga(c),d=!h&&Ha(c),v=!h&&!d&&su(c);f=c,h||d||v?Ga(s)?f=s:Xa(s)?f=No(s):d?(p=!1,f=wo(c,!0)):v?(p=!1,f=xo(c,!0)):f=[]:ru(c)||Fa(c)?(f=s,Fa(s)?f=mu(s):Qa(s)&&!Ya(s)||(f=di(c))):p=!1}p&&(u.set(c,f),i(f,c,r,a,u),u.delete(c)),Jn(e,n,f)}}(e,t,u,n,zr,r,i);else{var s=r?r(Si(e,u),a,u+"",e,t,i):o;s===o&&(s=a),Jn(e,u,s)}}),Tu)}function Vr(e,t){var n=e.length;if(n)return mi(t+=t<0?n:0,n)?e[t]:o}function Br(e,t,n){t=t.length?Tt(t,(function(e){return Ga(e)?function(t){return wr(t,1===e.length?e[0]:e)}:e})):[ns];var r=-1;t=Tt(t,Zt(ai()));var o=Mr(e,(function(e,n,o){var i=Tt(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e){var t=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,u=n.length;++r<a;){var s=Oo(o[r],i[r]);if(s)return r>=u?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));t--;)e[t]=e[t].value;return e}(o)}function Fr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],u=wr(e,a);n(u,a)&&Yr(i,go(a,e),u)}return i}function Gr(e,t,n,r){var o=r?Vt:zt,i=-1,a=t.length,u=e;for(e===t&&(t=No(t)),n&&(u=Tt(e,Zt(n)));++i<a;)for(var s=0,c=t[i],l=n?n(c):c;(s=o(u,l,s,r))>-1;)u!==e&&He.call(u,s,1),He.call(e,s,1);return e}function Ur(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;mi(o)?He.call(e,o,1):so(e,o)}}return e}function Wr(e,t){return e+ht(bn()*(t-e+1))}function Xr(e,t){var n="";if(!e||t<1||t>f)return n;do{t%2&&(n+=e),(t=ht(t/2))&&(e+=e)}while(t);return n}function Hr(e,t){return Ai(Oi(e,t,ns),e+"")}function qr(e){return Zn(zu(e))}function Zr(e,t){var n=zu(e);return $i(n,ir(t,0,n.length))}function Yr(e,t,n,r){if(!Qa(e))return e;for(var i=-1,a=(t=go(t,e)).length,u=a-1,s=e;null!=s&&++i<a;){var c=Mi(t[i]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=u){var f=s[c];(l=r?r(f,c,s):o)===o&&(l=Qa(f)?f:mi(t[i+1])?[]:{})}Qn(s,c,l),s=s[c]}return e}var Kr=Rn?function(e,t){return Rn.set(e,t),e}:ns,Jr=et?function(e,t){return et(e,"toString",{configurable:!0,enumerable:!1,value:Qu(t),writable:!0})}:ns;function Qr(e){return $i(zu(e))}function eo(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function to(e,t){var n;return lr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function no(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!uu(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return ro(e,t,ns,n)}function ro(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var u=(t=n(t))!=t,s=null===t,c=uu(t),l=t===o;i<a;){var f=ht((i+a)/2),p=n(e[f]),h=p!==o,d=null===p,v=p==p,m=uu(p);if(u)var g=r||v;else g=l?v&&(r||h):s?v&&h&&(r||!d):c?v&&h&&!d&&(r||!m):!d&&!m&&(r?p<=t:p<t);g?i=f+1:a=f}return gn(a,4294967294)}function oo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],u=t?t(a):a;if(!n||!za(u,s)){var s=u;i[o++]=0===a?0:a}}return i}function io(e){return"number"==typeof e?e:uu(e)?p:+e}function ao(e){if("string"==typeof e)return e;if(Ga(e))return Tt(e,ao)+"";if(uu(e))return kn?kn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function uo(e,t,n){var r=-1,o=At,i=e.length,a=!0,u=[],s=u;if(n)a=!1,o=jt;else if(i>=200){var c=t?null:Ho(e);if(c)return sn(c);a=!1,o=Kt,s=new Xn}else s=t?[]:u;e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,a&&f==f){for(var p=s.length;p--;)if(s[p]===f)continue e;t&&s.push(f),u.push(l)}else o(s,f,n)||(s!==u&&s.push(f),u.push(l))}return u}function so(e,t){return null==(e=Ii(e,t=go(t,e)))||delete e[Mi(Zi(t))]}function co(e,t,n,r){return Yr(e,t,n(wr(e,t)),r)}function lo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?eo(e,r?0:i,r?i+1:o):eo(e,r?i+1:0,r?o:i)}function fo(e,t){var n=e;return n instanceof Fn&&(n=n.value()),Lt(t,(function(e,t){return t.func.apply(t.thisArg,$t([e],t.args))}),n)}function po(e,t,n){var o=e.length;if(o<2)return o?uo(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var u=e[i],s=-1;++s<o;)s!=i&&(a[i]=cr(a[i]||u,e[s],t,n));return uo(vr(a,1),t,n)}function ho(e,t,n){for(var r=-1,i=e.length,a=t.length,u={};++r<i;){var s=r<a?t[r]:o;n(u,e[r],s)}return u}function vo(e){return Xa(e)?e:[]}function mo(e){return"function"==typeof e?e:ns}function go(e,t){return Ga(e)?e:_i(e,t)?[e]:Ci(gu(e))}var _o=Hr;function yo(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:eo(e,t,n)}var bo=at||function(e){return ft.clearTimeout(e)};function wo(e,t){if(t)return e.slice();var n=e.length,r=Ge?Ge(n):new e.constructor(n);return e.copy(r),r}function Eo(e){var t=new e.constructor(e.byteLength);return new Fe(t).set(new Fe(e)),t}function xo(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Oo(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=uu(e),u=t!==o,s=null===t,c=t==t,l=uu(t);if(!s&&!l&&!a&&e>t||a&&u&&c&&!s&&!l||r&&u&&c||!n&&c||!i)return 1;if(!r&&!a&&!l&&e<t||l&&n&&i&&!r&&!a||s&&n&&i||!u&&i||!c)return-1}return 0}function Io(e,t,n,o){for(var i=-1,a=e.length,u=n.length,s=-1,c=t.length,l=mn(a-u,0),f=r(c+l),p=!o;++s<c;)f[s]=t[s];for(;++i<u;)(p||i<a)&&(f[n[i]]=e[i]);for(;l--;)f[s++]=e[i++];return f}function So(e,t,n,o){for(var i=-1,a=e.length,u=-1,s=n.length,c=-1,l=t.length,f=mn(a-s,0),p=r(f+l),h=!o;++i<f;)p[i]=e[i];for(var d=i;++c<l;)p[d+c]=t[c];for(;++u<s;)(h||i<a)&&(p[d+n[u]]=e[i++]);return p}function No(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function Ro(e,t,n,r){var i=!n;n||(n={});for(var a=-1,u=t.length;++a<u;){var s=t[a],c=r?r(n[s],e[s],s,n,e):o;c===o&&(c=e[s]),i?rr(n,s,c):Qn(n,s,c)}return n}function Ao(e,t){return function(n,r){var o=Ga(n)?Ot:tr,i=t?t():{};return o(n,e,ai(r,2),i)}}function jo(e){return Hr((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,u=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,u&&gi(n[0],n[1],u)&&(a=i<3?o:a,i=1),t=Oe(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t}))}function To(e,t){return function(n,r){if(null==n)return n;if(!Wa(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Oe(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function $o(e){return function(t,n,r){for(var o=-1,i=Oe(t),a=r(t),u=a.length;u--;){var s=a[e?u:++o];if(!1===n(i[s],s,i))break}return t}}function Lo(e){return function(t){var n=rn(t=gu(t))?fn(t):o,r=n?n[0]:t.charAt(0),i=n?yo(n,1).join(""):t.slice(1);return r[e]()+i}}function Po(e){return function(t){return Lt(Yu(Fu(t).replace(Ye,"")),e,"")}}function Co(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=zn(e.prototype),r=e.apply(n,t);return Qa(r)?r:n}}function Mo(e){return function(t,n,r){var i=Oe(t);if(!Wa(t)){var a=ai(n,3);t=ju(t),n=function(e){return a(i[e],e,i)}}var u=e(t,n,r);return u>-1?i[a?t[u]:u]:o}}function ko(e){return ei((function(t){var n=t.length,r=n,a=Bn.prototype.thru;for(e&&t.reverse();r--;){var u=t[r];if("function"!=typeof u)throw new Ne(i);if(a&&!s&&"wrapper"==oi(u))var s=new Bn([],!0)}for(r=s?r:n;++r<n;){var c=oi(u=t[r]),l="wrapper"==c?ri(u):o;s=l&&yi(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?s[oi(l[0])].apply(s,l[3]):1==u.length&&yi(u)?s[c]():s.thru(u)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&Ga(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Do(e,t,n,i,a,u,s,l,f,p){var h=t&c,d=1&t,v=2&t,m=24&t,g=512&t,_=v?o:Co(e);return function c(){for(var y=arguments.length,b=r(y),w=y;w--;)b[w]=arguments[w];if(m)var E=ii(c),x=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,E);if(i&&(b=Io(b,i,a,m)),u&&(b=So(b,u,s,m)),y-=x,m&&y<p){var O=un(b,E);return Wo(e,t,Do,c.placeholder,n,b,O,l,f,p-y)}var I=d?n:this,S=v?I[e]:e;return y=b.length,l?b=function(e,t){for(var n=e.length,r=gn(t.length,n),i=No(e);r--;){var a=t[r];e[r]=mi(a,n)?i[a]:o}return e}(b,l):g&&y>1&&b.reverse(),h&&f<y&&(b.length=f),this&&this!==ft&&this instanceof c&&(S=_||Co(S)),S.apply(I,b)}}function zo(e,t){return function(n,r){return function(e,t,n,r){return _r(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Vo(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=ao(n),r=ao(r)):(n=io(n),r=io(r)),i=e(n,r)}return i}}function Bo(e){return ei((function(t){return t=Tt(t,Zt(ai())),Hr((function(n){var r=this;return e(t,(function(e){return xt(e,r,n)}))}))}))}function Fo(e,t){var n=(t=t===o?" ":ao(t)).length;if(n<2)return n?Xr(t,e):t;var r=Xr(t,pt(e/ln(t)));return rn(t)?yo(fn(r),0,e).join(""):r.slice(0,e)}function Go(e){return function(t,n,i){return i&&"number"!=typeof i&&gi(t,n,i)&&(n=i=o),t=pu(t),n===o?(n=t,t=0):n=pu(n),function(e,t,n,o){for(var i=-1,a=mn(pt((t-e)/(n||1)),0),u=r(a);a--;)u[o?a:++i]=e,e+=n;return u}(t,n,i=i===o?t<n?1:-1:pu(i),e)}}function Uo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=vu(t),n=vu(n)),e(t,n)}}function Wo(e,t,n,r,i,a,u,c,l,f){var p=8&t;t|=p?s:64,4&(t&=~(p?64:s))||(t&=-4);var h=[e,t,i,p?a:o,p?u:o,p?o:a,p?o:u,c,l,f],d=n.apply(o,h);return yi(e)&&Ni(d,h),d.placeholder=r,ji(d,e,t)}function Xo(e){var t=xe[e];return function(e,n){if(e=vu(e),(n=null==n?0:gn(hu(n),292))&&Mt(e)){var r=(gu(e)+"e").split("e");return+((r=(gu(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Ho=In&&1/sn(new In([,-0]))[1]==l?function(e){return new In(e)}:us;function qo(e){return function(t){var n=pi(t);return n==E?on(t):n==N?cn(t):function(e,t){return Tt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Zo(e,t,n,a,l,f,p,h){var d=2&t;if(!d&&"function"!=typeof e)throw new Ne(i);var v=a?a.length:0;if(v||(t&=-97,a=l=o),p=p===o?p:mn(hu(p),0),h=h===o?h:hu(h),v-=l?l.length:0,64&t){var m=a,g=l;a=l=o}var _=d?o:ri(e),y=[e,t,n,a,l,m,g,f,p,h];if(_&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=r==c&&8==n||r==c&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var s=t[3];if(s){var l=e[3];e[3]=l?Io(l,s,t[4]):s,e[4]=l?un(e[3],u):t[4]}(s=t[5])&&(l=e[5],e[5]=l?So(l,s,t[6]):s,e[6]=l?un(e[5],u):t[6]),(s=t[7])&&(e[7]=s),r&c&&(e[8]=null==e[8]?t[8]:gn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(y,_),e=y[0],t=y[1],n=y[2],a=y[3],l=y[4],!(h=y[9]=y[9]===o?d?0:e.length:mn(y[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(e,t,n){var i=Co(e);return function a(){for(var u=arguments.length,s=r(u),c=u,l=ii(a);c--;)s[c]=arguments[c];var f=u<3&&s[0]!==l&&s[u-1]!==l?[]:un(s,l);return(u-=f.length)<n?Wo(e,t,Do,a.placeholder,o,s,f,o,o,n-u):xt(this&&this!==ft&&this instanceof a?i:e,this,s)}}(e,t,h):t!=s&&33!=t||l.length?Do.apply(o,y):function(e,t,n,o){var i=1&t,a=Co(e);return function t(){for(var u=-1,s=arguments.length,c=-1,l=o.length,f=r(l+s),p=this&&this!==ft&&this instanceof t?a:e;++c<l;)f[c]=o[c];for(;s--;)f[c++]=arguments[++u];return xt(p,i?n:this,f)}}(e,t,n,a);else var b=function(e,t,n){var r=1&t,o=Co(e);return function t(){return(this&&this!==ft&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return ji((_?Kr:Ni)(b,y),e,t)}function Yo(e,t,n,r){return e===o||za(e,je[n])&&!Le.call(r,n)?t:e}function Ko(e,t,n,r,i,a){return Qa(e)&&Qa(t)&&(a.set(t,e),zr(e,t,o,Ko,a),a.delete(t)),e}function Jo(e){return ru(e)?o:e}function Qo(e,t,n,r,i,a){var u=1&n,s=e.length,c=t.length;if(s!=c&&!(u&&c>s))return!1;var l=a.get(e),f=a.get(t);if(l&&f)return l==t&&f==e;var p=-1,h=!0,d=2&n?new Xn:o;for(a.set(e,t),a.set(t,e);++p<s;){var v=e[p],m=t[p];if(r)var g=u?r(m,v,p,t,e,a):r(v,m,p,e,t,a);if(g!==o){if(g)continue;h=!1;break}if(d){if(!Ct(t,(function(e,t){if(!Kt(d,t)&&(v===e||i(v,e,n,r,a)))return d.push(t)}))){h=!1;break}}else if(v!==m&&!i(v,m,n,r,a)){h=!1;break}}return a.delete(e),a.delete(t),h}function ei(e){return Ai(Oi(e,o,Ui),e+"")}function ti(e){return Er(e,ju,li)}function ni(e){return Er(e,Tu,fi)}var ri=Rn?function(e){return Rn.get(e)}:us;function oi(e){for(var t=e.name+"",n=An[t],r=Le.call(An,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ii(e){return(Le.call(Dn,"placeholder")?Dn:e).placeholder}function ai(){var e=Dn.iteratee||rs;return e=e===rs?Lr:e,arguments.length?e(arguments[0],arguments[1]):e}function ui(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function si(e){for(var t=ju(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ei(o)]}return t}function ci(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return $r(n)?n:o}var li=vt?function(e){return null==e?[]:(e=Oe(e),Rt(vt(e),(function(t){return Xe.call(e,t)})))}:ds,fi=vt?function(e){for(var t=[];e;)$t(t,li(e)),e=Ue(e);return t}:ds,pi=xr;function hi(e,t,n){for(var r=-1,o=(t=go(t,e)).length,i=!1;++r<o;){var a=Mi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Ja(o)&&mi(a,o)&&(Ga(e)||Fa(e))}function di(e){return"function"!=typeof e.constructor||wi(e)?{}:zn(Ue(e))}function vi(e){return Ga(e)||Fa(e)||!!(qe&&e&&e[qe])}function mi(e,t){var n=typeof e;return!!(t=null==t?f:t)&&("number"==n||"symbol"!=n&&ge.test(e))&&e>-1&&e%1==0&&e<t}function gi(e,t,n){if(!Qa(n))return!1;var r=typeof t;return!!("number"==r?Wa(n)&&mi(t,n.length):"string"==r&&t in n)&&za(n[t],e)}function _i(e,t){if(Ga(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!uu(e))||Q.test(e)||!J.test(e)||null!=t&&e in Oe(t)}function yi(e){var t=oi(e),n=Dn[t];if("function"!=typeof n||!(t in Fn.prototype))return!1;if(e===n)return!0;var r=ri(n);return!!r&&e===r[0]}(En&&pi(new En(new ArrayBuffer(1)))!=$||xn&&pi(new xn)!=E||On&&pi(On.resolve())!=I||In&&pi(new In)!=N||Sn&&pi(new Sn)!=j)&&(pi=function(e){var t=xr(e),n=t==O?e.constructor:o,r=n?ki(n):"";if(r)switch(r){case jn:return $;case Tn:return E;case $n:return I;case Ln:return N;case Pn:return j}return t});var bi=Te?Ya:vs;function wi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||je)}function Ei(e){return e==e&&!Qa(e)}function xi(e,t){return function(n){return null!=n&&n[e]===t&&(t!==o||e in Oe(n))}}function Oi(e,t,n){return t=mn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=mn(o.length-t,0),u=r(a);++i<a;)u[i]=o[t+i];i=-1;for(var s=r(t+1);++i<t;)s[i]=o[i];return s[t]=n(u),xt(e,this,s)}}function Ii(e,t){return t.length<2?e:wr(e,eo(t,0,-1))}function Si(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ni=Ti(Kr),Ri=lt||function(e,t){return ft.setTimeout(e,t)},Ai=Ti(Jr);function ji(e,t,n){var r=t+"";return Ai(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ie,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return It(d,(function(n){var r="_."+n[0];t&n[1]&&!At(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(ue):[]}(r),n)))}function Ti(e){var t=0,n=0;return function(){var r=_n(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function $i(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=Wr(n,i),u=e[a];e[a]=e[n],e[n]=u}return e.length=t,e}var Li,Pi,Ci=(Li=La((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,n,r,o){t.push(r?o.replace(le,"$1"):n||e)})),t}),(function(e){return 500===Pi.size&&Pi.clear(),e})),Pi=Li.cache,Li);function Mi(e){if("string"==typeof e||uu(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ki(e){if(null!=e){try{return $e.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Di(e){if(e instanceof Fn)return e.clone();var t=new Bn(e.__wrapped__,e.__chain__);return t.__actions__=No(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var zi=Hr((function(e,t){return Xa(e)?cr(e,vr(t,1,Xa,!0)):[]})),Vi=Hr((function(e,t){var n=Zi(t);return Xa(n)&&(n=o),Xa(e)?cr(e,vr(t,1,Xa,!0),ai(n,2)):[]})),Bi=Hr((function(e,t){var n=Zi(t);return Xa(n)&&(n=o),Xa(e)?cr(e,vr(t,1,Xa,!0),o,n):[]}));function Fi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:hu(n);return o<0&&(o=mn(r+o,0)),Dt(e,ai(t,3),o)}function Gi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=hu(n),i=n<0?mn(r+i,0):gn(i,r-1)),Dt(e,ai(t,3),i,!0)}function Ui(e){return null!=e&&e.length?vr(e,1):[]}function Wi(e){return e&&e.length?e[0]:o}var Xi=Hr((function(e){var t=Tt(e,vo);return t.length&&t[0]===e[0]?Nr(t):[]})),Hi=Hr((function(e){var t=Zi(e),n=Tt(e,vo);return t===Zi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Nr(n,ai(t,2)):[]})),qi=Hr((function(e){var t=Zi(e),n=Tt(e,vo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Nr(n,o,t):[]}));function Zi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Yi=Hr(Ki);function Ki(e,t){return e&&e.length&&t&&t.length?Gr(e,t):e}var Ji=ei((function(e,t){var n=null==e?0:e.length,r=or(e,t);return Ur(e,Tt(t,(function(e){return mi(e,n)?+e:e})).sort(Oo)),r}));function Qi(e){return null==e?e:wn.call(e)}var ea=Hr((function(e){return uo(vr(e,1,Xa,!0))})),ta=Hr((function(e){var t=Zi(e);return Xa(t)&&(t=o),uo(vr(e,1,Xa,!0),ai(t,2))})),na=Hr((function(e){var t=Zi(e);return t="function"==typeof t?t:o,uo(vr(e,1,Xa,!0),o,t)}));function ra(e){if(!e||!e.length)return[];var t=0;return e=Rt(e,(function(e){if(Xa(e))return t=mn(e.length,t),!0})),Ht(t,(function(t){return Tt(e,Gt(t))}))}function oa(e,t){if(!e||!e.length)return[];var n=ra(e);return null==t?n:Tt(n,(function(e){return xt(t,o,e)}))}var ia=Hr((function(e,t){return Xa(e)?cr(e,t):[]})),aa=Hr((function(e){return po(Rt(e,Xa))})),ua=Hr((function(e){var t=Zi(e);return Xa(t)&&(t=o),po(Rt(e,Xa),ai(t,2))})),sa=Hr((function(e){var t=Zi(e);return t="function"==typeof t?t:o,po(Rt(e,Xa),o,t)})),ca=Hr(ra),la=Hr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,oa(e,n)}));function fa(e){var t=Dn(e);return t.__chain__=!0,t}function pa(e,t){return t(e)}var ha=ei((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return or(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Fn&&mi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:pa,args:[i],thisArg:o}),new Bn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)})),da=Ao((function(e,t,n){Le.call(e,n)?++e[n]:rr(e,n,1)})),va=Mo(Fi),ma=Mo(Gi);function ga(e,t){return(Ga(e)?It:lr)(e,ai(t,3))}function _a(e,t){return(Ga(e)?St:fr)(e,ai(t,3))}var ya=Ao((function(e,t,n){Le.call(e,n)?e[n].push(t):rr(e,n,[t])})),ba=Hr((function(e,t,n){var o=-1,i="function"==typeof t,a=Wa(e)?r(e.length):[];return lr(e,(function(e){a[++o]=i?xt(t,e,n):Rr(e,t,n)})),a})),wa=Ao((function(e,t,n){rr(e,n,t)}));function Ea(e,t){return(Ga(e)?Tt:Mr)(e,ai(t,3))}var xa=Ao((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Oa=Hr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&gi(e,t[0],t[1])?t=[]:n>2&&gi(t[0],t[1],t[2])&&(t=[t[0]]),Br(e,vr(t,1),[])})),Ia=ct||function(){return ft.Date.now()};function Sa(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Zo(e,c,o,o,o,o,t)}function Na(e,t){var n;if("function"!=typeof t)throw new Ne(i);return e=hu(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ra=Hr((function(e,t,n){var r=1;if(n.length){var o=un(n,ii(Ra));r|=s}return Zo(e,r,t,n,o)})),Aa=Hr((function(e,t,n){var r=3;if(n.length){var o=un(n,ii(Aa));r|=s}return Zo(t,r,e,n,o)}));function ja(e,t,n){var r,a,u,s,c,l,f=0,p=!1,h=!1,d=!0;if("function"!=typeof e)throw new Ne(i);function v(t){var n=r,i=a;return r=a=o,f=t,s=e.apply(i,n)}function m(e){var n=e-l;return l===o||n>=t||n<0||h&&e-f>=u}function g(){var e=Ia();if(m(e))return _(e);c=Ri(g,function(e){var n=t-(e-l);return h?gn(n,u-(e-f)):n}(e))}function _(e){return c=o,d&&r?v(e):(r=a=o,s)}function y(){var e=Ia(),n=m(e);if(r=arguments,a=this,l=e,n){if(c===o)return function(e){return f=e,c=Ri(g,t),p?v(e):s}(l);if(h)return bo(c),c=Ri(g,t),v(l)}return c===o&&(c=Ri(g,t)),s}return t=vu(t)||0,Qa(n)&&(p=!!n.leading,u=(h="maxWait"in n)?mn(vu(n.maxWait)||0,t):u,d="trailing"in n?!!n.trailing:d),y.cancel=function(){c!==o&&bo(c),f=0,r=l=a=c=o},y.flush=function(){return c===o?s:_(Ia())},y}var Ta=Hr((function(e,t){return sr(e,1,t)})),$a=Hr((function(e,t,n){return sr(e,vu(t)||0,n)}));function La(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ne(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(La.Cache||Wn),n}function Pa(e){if("function"!=typeof e)throw new Ne(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}La.Cache=Wn;var Ca=_o((function(e,t){var n=(t=1==t.length&&Ga(t[0])?Tt(t[0],Zt(ai())):Tt(vr(t,1),Zt(ai()))).length;return Hr((function(r){for(var o=-1,i=gn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return xt(e,this,r)}))})),Ma=Hr((function(e,t){var n=un(t,ii(Ma));return Zo(e,s,o,t,n)})),ka=Hr((function(e,t){var n=un(t,ii(ka));return Zo(e,64,o,t,n)})),Da=ei((function(e,t){return Zo(e,256,o,o,o,t)}));function za(e,t){return e===t||e!=e&&t!=t}var Va=Uo(Or),Ba=Uo((function(e,t){return e>=t})),Fa=Ar(function(){return arguments}())?Ar:function(e){return eu(e)&&Le.call(e,"callee")&&!Xe.call(e,"callee")},Ga=r.isArray,Ua=gt?Zt(gt):function(e){return eu(e)&&xr(e)==T};function Wa(e){return null!=e&&Ja(e.length)&&!Ya(e)}function Xa(e){return eu(e)&&Wa(e)}var Ha=mt||vs,qa=_t?Zt(_t):function(e){return eu(e)&&xr(e)==_};function Za(e){if(!eu(e))return!1;var t=xr(e);return t==y||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ru(e)}function Ya(e){if(!Qa(e))return!1;var t=xr(e);return t==b||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ka(e){return"number"==typeof e&&e==hu(e)}function Ja(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function Qa(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eu(e){return null!=e&&"object"==typeof e}var tu=yt?Zt(yt):function(e){return eu(e)&&pi(e)==E};function nu(e){return"number"==typeof e||eu(e)&&xr(e)==x}function ru(e){if(!eu(e)||xr(e)!=O)return!1;var t=Ue(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&$e.call(n)==ke}var ou=bt?Zt(bt):function(e){return eu(e)&&xr(e)==S},iu=wt?Zt(wt):function(e){return eu(e)&&pi(e)==N};function au(e){return"string"==typeof e||!Ga(e)&&eu(e)&&xr(e)==R}function uu(e){return"symbol"==typeof e||eu(e)&&xr(e)==A}var su=Et?Zt(Et):function(e){return eu(e)&&Ja(e.length)&&!!ot[xr(e)]},cu=Uo(Cr),lu=Uo((function(e,t){return e<=t}));function fu(e){if(!e)return[];if(Wa(e))return au(e)?fn(e):No(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=pi(e);return(t==E?on:t==N?sn:zu)(e)}function pu(e){return e?(e=vu(e))===l||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function hu(e){var t=pu(e),n=t%1;return t==t?n?t-n:t:0}function du(e){return e?ir(hu(e),0,h):0}function vu(e){if("number"==typeof e)return e;if(uu(e))return p;if(Qa(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qa(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=qt(e);var n=de.test(e);return n||me.test(e)?st(e.slice(2),n?2:8):he.test(e)?p:+e}function mu(e){return Ro(e,Tu(e))}function gu(e){return null==e?"":ao(e)}var _u=jo((function(e,t){if(wi(t)||Wa(t))Ro(t,ju(t),e);else for(var n in t)Le.call(t,n)&&Qn(e,n,t[n])})),yu=jo((function(e,t){Ro(t,Tu(t),e)})),bu=jo((function(e,t,n,r){Ro(t,Tu(t),e,r)})),wu=jo((function(e,t,n,r){Ro(t,ju(t),e,r)})),Eu=ei(or),xu=Hr((function(e,t){e=Oe(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&gi(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],u=Tu(a),s=-1,c=u.length;++s<c;){var l=u[s],f=e[l];(f===o||za(f,je[l])&&!Le.call(e,l))&&(e[l]=a[l])}return e})),Ou=Hr((function(e){return e.push(o,Ko),xt(Lu,o,e)}));function Iu(e,t,n){var r=null==e?o:wr(e,t);return r===o?n:r}function Su(e,t){return null!=e&&hi(e,t,Sr)}var Nu=zo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Me.call(t)),e[t]=n}),Qu(ns)),Ru=zo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Me.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]}),ai),Au=Hr(Rr);function ju(e){return Wa(e)?qn(e):Pr(e)}function Tu(e){return Wa(e)?qn(e,!0):function(e){if(!Qa(e))return function(e){var t=[];if(null!=e)for(var n in Oe(e))t.push(n);return t}(e);var t=wi(e),n=[];for(var r in e)("constructor"!=r||!t&&Le.call(e,r))&&n.push(r);return n}(e)}var $u=jo((function(e,t,n){zr(e,t,n)})),Lu=jo((function(e,t,n,r){zr(e,t,n,r)})),Pu=ei((function(e,t){var n={};if(null==e)return n;var r=!1;t=Tt(t,(function(t){return t=go(t,e),r||(r=t.length>1),t})),Ro(e,ni(e),n),r&&(n=ar(n,7,Jo));for(var o=t.length;o--;)so(n,t[o]);return n})),Cu=ei((function(e,t){return null==e?{}:function(e,t){return Fr(e,t,(function(t,n){return Su(e,n)}))}(e,t)}));function Mu(e,t){if(null==e)return{};var n=Tt(ni(e),(function(e){return[e]}));return t=ai(t),Fr(e,n,(function(e,n){return t(e,n[0])}))}var ku=qo(ju),Du=qo(Tu);function zu(e){return null==e?[]:Yt(e,ju(e))}var Vu=Po((function(e,t,n){return t=t.toLowerCase(),e+(n?Bu(t):t)}));function Bu(e){return Zu(gu(e).toLowerCase())}function Fu(e){return(e=gu(e))&&e.replace(_e,en).replace(Ke,"")}var Gu=Po((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Uu=Po((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Wu=Lo("toLowerCase"),Xu=Po((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Hu=Po((function(e,t,n){return e+(n?" ":"")+Zu(t)})),qu=Po((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Zu=Lo("toUpperCase");function Yu(e,t,n){return e=gu(e),(t=n?o:t)===o?function(e){return tt.test(e)}(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.match(se)||[]}(e):e.match(t)||[]}var Ku=Hr((function(e,t){try{return xt(e,o,t)}catch(e){return Za(e)?e:new we(e)}})),Ju=ei((function(e,t){return It(t,(function(t){t=Mi(t),rr(e,t,Ra(e[t],e))})),e}));function Qu(e){return function(){return e}}var es=ko(),ts=ko(!0);function ns(e){return e}function rs(e){return Lr("function"==typeof e?e:ar(e,1))}var os=Hr((function(e,t){return function(n){return Rr(n,e,t)}})),is=Hr((function(e,t){return function(n){return Rr(e,n,t)}}));function as(e,t,n){var r=ju(t),o=br(t,r);null!=n||Qa(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=br(t,ju(t)));var i=!(Qa(n)&&"chain"in n&&!n.chain),a=Ya(e);return It(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=No(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,$t([this.value()],arguments))})})),e}function us(){}var ss=Bo(Tt),cs=Bo(Nt),ls=Bo(Ct);function fs(e){return _i(e)?Gt(Mi(e)):function(e){return function(t){return wr(t,e)}}(e)}var ps=Go(),hs=Go(!0);function ds(){return[]}function vs(){return!1}var ms,gs=Vo((function(e,t){return e+t}),0),_s=Xo("ceil"),ys=Vo((function(e,t){return e/t}),1),bs=Xo("floor"),ws=Vo((function(e,t){return e*t}),1),Es=Xo("round"),xs=Vo((function(e,t){return e-t}),0);return Dn.after=function(e,t){if("function"!=typeof t)throw new Ne(i);return e=hu(e),function(){if(--e<1)return t.apply(this,arguments)}},Dn.ary=Sa,Dn.assign=_u,Dn.assignIn=yu,Dn.assignInWith=bu,Dn.assignWith=wu,Dn.at=Eu,Dn.before=Na,Dn.bind=Ra,Dn.bindAll=Ju,Dn.bindKey=Aa,Dn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},Dn.chain=fa,Dn.chunk=function(e,t,n){t=(n?gi(e,t,n):t===o)?1:mn(hu(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,u=0,s=r(pt(i/t));a<i;)s[u++]=eo(e,a,a+=t);return s},Dn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Dn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return $t(Ga(n)?No(n):[n],vr(t,1))},Dn.cond=function(e){var t=null==e?0:e.length,n=ai();return e=t?Tt(e,(function(e){if("function"!=typeof e[1])throw new Ne(i);return[n(e[0]),e[1]]})):[],Hr((function(n){for(var r=-1;++r<t;){var o=e[r];if(xt(o[0],this,n))return xt(o[1],this,n)}}))},Dn.conforms=function(e){return function(e){var t=ju(e);return function(n){return ur(n,e,t)}}(ar(e,1))},Dn.constant=Qu,Dn.countBy=da,Dn.create=function(e,t){var n=zn(e);return null==t?n:nr(n,t)},Dn.curry=function e(t,n,r){var i=Zo(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Dn.curryRight=function e(t,n,r){var i=Zo(t,16,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Dn.debounce=ja,Dn.defaults=xu,Dn.defaultsDeep=Ou,Dn.defer=Ta,Dn.delay=$a,Dn.difference=zi,Dn.differenceBy=Vi,Dn.differenceWith=Bi,Dn.drop=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,(t=n||t===o?1:hu(t))<0?0:t,r):[]},Dn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,0,(t=r-(t=n||t===o?1:hu(t)))<0?0:t):[]},Dn.dropRightWhile=function(e,t){return e&&e.length?lo(e,ai(t,3),!0,!0):[]},Dn.dropWhile=function(e,t){return e&&e.length?lo(e,ai(t,3),!0):[]},Dn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&gi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=hu(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:hu(r))<0&&(r+=i),r=n>r?0:du(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Dn.filter=function(e,t){return(Ga(e)?Rt:dr)(e,ai(t,3))},Dn.flatMap=function(e,t){return vr(Ea(e,t),1)},Dn.flatMapDeep=function(e,t){return vr(Ea(e,t),l)},Dn.flatMapDepth=function(e,t,n){return n=n===o?1:hu(n),vr(Ea(e,t),n)},Dn.flatten=Ui,Dn.flattenDeep=function(e){return null!=e&&e.length?vr(e,l):[]},Dn.flattenDepth=function(e,t){return null!=e&&e.length?vr(e,t=t===o?1:hu(t)):[]},Dn.flip=function(e){return Zo(e,512)},Dn.flow=es,Dn.flowRight=ts,Dn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Dn.functions=function(e){return null==e?[]:br(e,ju(e))},Dn.functionsIn=function(e){return null==e?[]:br(e,Tu(e))},Dn.groupBy=ya,Dn.initial=function(e){return null!=e&&e.length?eo(e,0,-1):[]},Dn.intersection=Xi,Dn.intersectionBy=Hi,Dn.intersectionWith=qi,Dn.invert=Nu,Dn.invertBy=Ru,Dn.invokeMap=ba,Dn.iteratee=rs,Dn.keyBy=wa,Dn.keys=ju,Dn.keysIn=Tu,Dn.map=Ea,Dn.mapKeys=function(e,t){var n={};return t=ai(t,3),_r(e,(function(e,r,o){rr(n,t(e,r,o),e)})),n},Dn.mapValues=function(e,t){var n={};return t=ai(t,3),_r(e,(function(e,r,o){rr(n,r,t(e,r,o))})),n},Dn.matches=function(e){return kr(ar(e,1))},Dn.matchesProperty=function(e,t){return Dr(e,ar(t,1))},Dn.memoize=La,Dn.merge=$u,Dn.mergeWith=Lu,Dn.method=os,Dn.methodOf=is,Dn.mixin=as,Dn.negate=Pa,Dn.nthArg=function(e){return e=hu(e),Hr((function(t){return Vr(t,e)}))},Dn.omit=Pu,Dn.omitBy=function(e,t){return Mu(e,Pa(ai(t)))},Dn.once=function(e){return Na(2,e)},Dn.orderBy=function(e,t,n,r){return null==e?[]:(Ga(t)||(t=null==t?[]:[t]),Ga(n=r?o:n)||(n=null==n?[]:[n]),Br(e,t,n))},Dn.over=ss,Dn.overArgs=Ca,Dn.overEvery=cs,Dn.overSome=ls,Dn.partial=Ma,Dn.partialRight=ka,Dn.partition=xa,Dn.pick=Cu,Dn.pickBy=Mu,Dn.property=fs,Dn.propertyOf=function(e){return function(t){return null==e?o:wr(e,t)}},Dn.pull=Yi,Dn.pullAll=Ki,Dn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,ai(n,2)):e},Dn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,o,n):e},Dn.pullAt=Ji,Dn.range=ps,Dn.rangeRight=hs,Dn.rearg=Da,Dn.reject=function(e,t){return(Ga(e)?Rt:dr)(e,Pa(ai(t,3)))},Dn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ai(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Ur(e,o),n},Dn.rest=function(e,t){if("function"!=typeof e)throw new Ne(i);return Hr(e,t=t===o?t:hu(t))},Dn.reverse=Qi,Dn.sampleSize=function(e,t,n){return t=(n?gi(e,t,n):t===o)?1:hu(t),(Ga(e)?Yn:Zr)(e,t)},Dn.set=function(e,t,n){return null==e?e:Yr(e,t,n)},Dn.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Yr(e,t,n,r)},Dn.shuffle=function(e){return(Ga(e)?Kn:Qr)(e)},Dn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&gi(e,t,n)?(t=0,n=r):(t=null==t?0:hu(t),n=n===o?r:hu(n)),eo(e,t,n)):[]},Dn.sortBy=Oa,Dn.sortedUniq=function(e){return e&&e.length?oo(e):[]},Dn.sortedUniqBy=function(e,t){return e&&e.length?oo(e,ai(t,2)):[]},Dn.split=function(e,t,n){return n&&"number"!=typeof n&&gi(e,t,n)&&(t=n=o),(n=n===o?h:n>>>0)?(e=gu(e))&&("string"==typeof t||null!=t&&!ou(t))&&!(t=ao(t))&&rn(e)?yo(fn(e),0,n):e.split(t,n):[]},Dn.spread=function(e,t){if("function"!=typeof e)throw new Ne(i);return t=null==t?0:mn(hu(t),0),Hr((function(n){var r=n[t],o=yo(n,0,t);return r&&$t(o,r),xt(e,this,o)}))},Dn.tail=function(e){var t=null==e?0:e.length;return t?eo(e,1,t):[]},Dn.take=function(e,t,n){return e&&e.length?eo(e,0,(t=n||t===o?1:hu(t))<0?0:t):[]},Dn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,(t=r-(t=n||t===o?1:hu(t)))<0?0:t,r):[]},Dn.takeRightWhile=function(e,t){return e&&e.length?lo(e,ai(t,3),!1,!0):[]},Dn.takeWhile=function(e,t){return e&&e.length?lo(e,ai(t,3)):[]},Dn.tap=function(e,t){return t(e),e},Dn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ne(i);return Qa(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ja(e,t,{leading:r,maxWait:t,trailing:o})},Dn.thru=pa,Dn.toArray=fu,Dn.toPairs=ku,Dn.toPairsIn=Du,Dn.toPath=function(e){return Ga(e)?Tt(e,Mi):uu(e)?[e]:No(Ci(gu(e)))},Dn.toPlainObject=mu,Dn.transform=function(e,t,n){var r=Ga(e),o=r||Ha(e)||su(e);if(t=ai(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Qa(e)&&Ya(i)?zn(Ue(e)):{}}return(o?It:_r)(e,(function(e,r,o){return t(n,e,r,o)})),n},Dn.unary=function(e){return Sa(e,1)},Dn.union=ea,Dn.unionBy=ta,Dn.unionWith=na,Dn.uniq=function(e){return e&&e.length?uo(e):[]},Dn.uniqBy=function(e,t){return e&&e.length?uo(e,ai(t,2)):[]},Dn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?uo(e,o,t):[]},Dn.unset=function(e,t){return null==e||so(e,t)},Dn.unzip=ra,Dn.unzipWith=oa,Dn.update=function(e,t,n){return null==e?e:co(e,t,mo(n))},Dn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:co(e,t,mo(n),r)},Dn.values=zu,Dn.valuesIn=function(e){return null==e?[]:Yt(e,Tu(e))},Dn.without=ia,Dn.words=Yu,Dn.wrap=function(e,t){return Ma(mo(t),e)},Dn.xor=aa,Dn.xorBy=ua,Dn.xorWith=sa,Dn.zip=ca,Dn.zipObject=function(e,t){return ho(e||[],t||[],Qn)},Dn.zipObjectDeep=function(e,t){return ho(e||[],t||[],Yr)},Dn.zipWith=la,Dn.entries=ku,Dn.entriesIn=Du,Dn.extend=yu,Dn.extendWith=bu,as(Dn,Dn),Dn.add=gs,Dn.attempt=Ku,Dn.camelCase=Vu,Dn.capitalize=Bu,Dn.ceil=_s,Dn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=vu(n))==n?n:0),t!==o&&(t=(t=vu(t))==t?t:0),ir(vu(e),t,n)},Dn.clone=function(e){return ar(e,4)},Dn.cloneDeep=function(e){return ar(e,5)},Dn.cloneDeepWith=function(e,t){return ar(e,5,t="function"==typeof t?t:o)},Dn.cloneWith=function(e,t){return ar(e,4,t="function"==typeof t?t:o)},Dn.conformsTo=function(e,t){return null==t||ur(e,t,ju(t))},Dn.deburr=Fu,Dn.defaultTo=function(e,t){return null==e||e!=e?t:e},Dn.divide=ys,Dn.endsWith=function(e,t,n){e=gu(e),t=ao(t);var r=e.length,i=n=n===o?r:ir(hu(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Dn.eq=za,Dn.escape=function(e){return(e=gu(e))&&q.test(e)?e.replace(X,tn):e},Dn.escapeRegExp=function(e){return(e=gu(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Dn.every=function(e,t,n){var r=Ga(e)?Nt:pr;return n&&gi(e,t,n)&&(t=o),r(e,ai(t,3))},Dn.find=va,Dn.findIndex=Fi,Dn.findKey=function(e,t){return kt(e,ai(t,3),_r)},Dn.findLast=ma,Dn.findLastIndex=Gi,Dn.findLastKey=function(e,t){return kt(e,ai(t,3),yr)},Dn.floor=bs,Dn.forEach=ga,Dn.forEachRight=_a,Dn.forIn=function(e,t){return null==e?e:mr(e,ai(t,3),Tu)},Dn.forInRight=function(e,t){return null==e?e:gr(e,ai(t,3),Tu)},Dn.forOwn=function(e,t){return e&&_r(e,ai(t,3))},Dn.forOwnRight=function(e,t){return e&&yr(e,ai(t,3))},Dn.get=Iu,Dn.gt=Va,Dn.gte=Ba,Dn.has=function(e,t){return null!=e&&hi(e,t,Ir)},Dn.hasIn=Su,Dn.head=Wi,Dn.identity=ns,Dn.includes=function(e,t,n,r){e=Wa(e)?e:zu(e),n=n&&!r?hu(n):0;var o=e.length;return n<0&&(n=mn(o+n,0)),au(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&zt(e,t,n)>-1},Dn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:hu(n);return o<0&&(o=mn(r+o,0)),zt(e,t,o)},Dn.inRange=function(e,t,n){return t=pu(t),n===o?(n=t,t=0):n=pu(n),function(e,t,n){return e>=gn(t,n)&&e<mn(t,n)}(e=vu(e),t,n)},Dn.invoke=Au,Dn.isArguments=Fa,Dn.isArray=Ga,Dn.isArrayBuffer=Ua,Dn.isArrayLike=Wa,Dn.isArrayLikeObject=Xa,Dn.isBoolean=function(e){return!0===e||!1===e||eu(e)&&xr(e)==g},Dn.isBuffer=Ha,Dn.isDate=qa,Dn.isElement=function(e){return eu(e)&&1===e.nodeType&&!ru(e)},Dn.isEmpty=function(e){if(null==e)return!0;if(Wa(e)&&(Ga(e)||"string"==typeof e||"function"==typeof e.splice||Ha(e)||su(e)||Fa(e)))return!e.length;var t=pi(e);if(t==E||t==N)return!e.size;if(wi(e))return!Pr(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Dn.isEqual=function(e,t){return jr(e,t)},Dn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?jr(e,t,o,n):!!r},Dn.isError=Za,Dn.isFinite=function(e){return"number"==typeof e&&Mt(e)},Dn.isFunction=Ya,Dn.isInteger=Ka,Dn.isLength=Ja,Dn.isMap=tu,Dn.isMatch=function(e,t){return e===t||Tr(e,t,si(t))},Dn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Tr(e,t,si(t),n)},Dn.isNaN=function(e){return nu(e)&&e!=+e},Dn.isNative=function(e){if(bi(e))throw new we("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return $r(e)},Dn.isNil=function(e){return null==e},Dn.isNull=function(e){return null===e},Dn.isNumber=nu,Dn.isObject=Qa,Dn.isObjectLike=eu,Dn.isPlainObject=ru,Dn.isRegExp=ou,Dn.isSafeInteger=function(e){return Ka(e)&&e>=-9007199254740991&&e<=f},Dn.isSet=iu,Dn.isString=au,Dn.isSymbol=uu,Dn.isTypedArray=su,Dn.isUndefined=function(e){return e===o},Dn.isWeakMap=function(e){return eu(e)&&pi(e)==j},Dn.isWeakSet=function(e){return eu(e)&&"[object WeakSet]"==xr(e)},Dn.join=function(e,t){return null==e?"":Ut.call(e,t)},Dn.kebabCase=Gu,Dn.last=Zi,Dn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=hu(n))<0?mn(r+i,0):gn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Dt(e,Bt,i,!0)},Dn.lowerCase=Uu,Dn.lowerFirst=Wu,Dn.lt=cu,Dn.lte=lu,Dn.max=function(e){return e&&e.length?hr(e,ns,Or):o},Dn.maxBy=function(e,t){return e&&e.length?hr(e,ai(t,2),Or):o},Dn.mean=function(e){return Ft(e,ns)},Dn.meanBy=function(e,t){return Ft(e,ai(t,2))},Dn.min=function(e){return e&&e.length?hr(e,ns,Cr):o},Dn.minBy=function(e,t){return e&&e.length?hr(e,ai(t,2),Cr):o},Dn.stubArray=ds,Dn.stubFalse=vs,Dn.stubObject=function(){return{}},Dn.stubString=function(){return""},Dn.stubTrue=function(){return!0},Dn.multiply=ws,Dn.nth=function(e,t){return e&&e.length?Vr(e,hu(t)):o},Dn.noConflict=function(){return ft._===this&&(ft._=De),this},Dn.noop=us,Dn.now=Ia,Dn.pad=function(e,t,n){e=gu(e);var r=(t=hu(t))?ln(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Fo(ht(o),n)+e+Fo(pt(o),n)},Dn.padEnd=function(e,t,n){e=gu(e);var r=(t=hu(t))?ln(e):0;return t&&r<t?e+Fo(t-r,n):e},Dn.padStart=function(e,t,n){e=gu(e);var r=(t=hu(t))?ln(e):0;return t&&r<t?Fo(t-r,n)+e:e},Dn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),yn(gu(e).replace(re,""),t||0)},Dn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&gi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=pu(e),t===o?(t=e,e=0):t=pu(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=bn();return gn(e+i*(t-e+ut("1e-"+((i+"").length-1))),t)}return Wr(e,t)},Dn.reduce=function(e,t,n){var r=Ga(e)?Lt:Wt,o=arguments.length<3;return r(e,ai(t,4),n,o,lr)},Dn.reduceRight=function(e,t,n){var r=Ga(e)?Pt:Wt,o=arguments.length<3;return r(e,ai(t,4),n,o,fr)},Dn.repeat=function(e,t,n){return t=(n?gi(e,t,n):t===o)?1:hu(t),Xr(gu(e),t)},Dn.replace=function(){var e=arguments,t=gu(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Dn.result=function(e,t,n){var r=-1,i=(t=go(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[Mi(t[r])];a===o&&(r=i,a=n),e=Ya(a)?a.call(e):a}return e},Dn.round=Es,Dn.runInContext=e,Dn.sample=function(e){return(Ga(e)?Zn:qr)(e)},Dn.size=function(e){if(null==e)return 0;if(Wa(e))return au(e)?ln(e):e.length;var t=pi(e);return t==E||t==N?e.size:Pr(e).length},Dn.snakeCase=Xu,Dn.some=function(e,t,n){var r=Ga(e)?Ct:to;return n&&gi(e,t,n)&&(t=o),r(e,ai(t,3))},Dn.sortedIndex=function(e,t){return no(e,t)},Dn.sortedIndexBy=function(e,t,n){return ro(e,t,ai(n,2))},Dn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=no(e,t);if(r<n&&za(e[r],t))return r}return-1},Dn.sortedLastIndex=function(e,t){return no(e,t,!0)},Dn.sortedLastIndexBy=function(e,t,n){return ro(e,t,ai(n,2),!0)},Dn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=no(e,t,!0)-1;if(za(e[n],t))return n}return-1},Dn.startCase=Hu,Dn.startsWith=function(e,t,n){return e=gu(e),n=null==n?0:ir(hu(n),0,e.length),t=ao(t),e.slice(n,n+t.length)==t},Dn.subtract=xs,Dn.sum=function(e){return e&&e.length?Xt(e,ns):0},Dn.sumBy=function(e,t){return e&&e.length?Xt(e,ai(t,2)):0},Dn.template=function(e,t,n){var r=Dn.templateSettings;n&&gi(e,t,n)&&(t=o),e=gu(e),t=bu({},t,r,Yo);var i,a,u=bu({},t.imports,r.imports,Yo),s=ju(u),c=Yt(u,s),l=0,f=t.interpolate||ye,p="__p += '",h=Ie((t.escape||ye).source+"|"+f.source+"|"+(f===K?fe:ye).source+"|"+(t.evaluate||ye).source+"|$","g"),d="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";e.replace(h,(function(t,n,r,o,u,s){return r||(r=o),p+=e.slice(l,s).replace(be,nn),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),u&&(a=!0,p+="';\n"+u+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+t.length,t})),p+="';\n";var v=Le.call(t,"variable")&&t.variable;if(v){if(ce.test(v))throw new we("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(F,""):p).replace(G,"$1").replace(U,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=Ku((function(){return Ee(s,d+"return "+p).apply(o,c)}));if(m.source=p,Za(m))throw m;return m},Dn.times=function(e,t){if((e=hu(e))<1||e>f)return[];var n=h,r=gn(e,h);t=ai(t),e-=h;for(var o=Ht(r,t);++n<e;)t(n);return o},Dn.toFinite=pu,Dn.toInteger=hu,Dn.toLength=du,Dn.toLower=function(e){return gu(e).toLowerCase()},Dn.toNumber=vu,Dn.toSafeInteger=function(e){return e?ir(hu(e),-9007199254740991,f):0===e?e:0},Dn.toString=gu,Dn.toUpper=function(e){return gu(e).toUpperCase()},Dn.trim=function(e,t,n){if((e=gu(e))&&(n||t===o))return qt(e);if(!e||!(t=ao(t)))return e;var r=fn(e),i=fn(t);return yo(r,Jt(r,i),Qt(r,i)+1).join("")},Dn.trimEnd=function(e,t,n){if((e=gu(e))&&(n||t===o))return e.slice(0,pn(e)+1);if(!e||!(t=ao(t)))return e;var r=fn(e);return yo(r,0,Qt(r,fn(t))+1).join("")},Dn.trimStart=function(e,t,n){if((e=gu(e))&&(n||t===o))return e.replace(re,"");if(!e||!(t=ao(t)))return e;var r=fn(e);return yo(r,Jt(r,fn(t))).join("")},Dn.truncate=function(e,t){var n=30,r="...";if(Qa(t)){var i="separator"in t?t.separator:i;n="length"in t?hu(t.length):n,r="omission"in t?ao(t.omission):r}var a=(e=gu(e)).length;if(rn(e)){var u=fn(e);a=u.length}if(n>=a)return e;var s=n-ln(r);if(s<1)return r;var c=u?yo(u,0,s).join(""):e.slice(0,s);if(i===o)return c+r;if(u&&(s+=c.length-s),ou(i)){if(e.slice(s).search(i)){var l,f=c;for(i.global||(i=Ie(i.source,gu(pe.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var p=l.index;c=c.slice(0,p===o?s:p)}}else if(e.indexOf(ao(i),s)!=s){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+r},Dn.unescape=function(e){return(e=gu(e))&&H.test(e)?e.replace(W,hn):e},Dn.uniqueId=function(e){var t=++Pe;return gu(e)+t},Dn.upperCase=qu,Dn.upperFirst=Zu,Dn.each=ga,Dn.eachRight=_a,Dn.first=Wi,as(Dn,(ms={},_r(Dn,(function(e,t){Le.call(Dn.prototype,t)||(ms[t]=e)})),ms),{chain:!1}),Dn.VERSION="4.17.21",It(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Dn[e].placeholder=Dn})),It(["drop","take"],(function(e,t){Fn.prototype[e]=function(n){n=n===o?1:mn(hu(n),0);var r=this.__filtered__&&!t?new Fn(this):this.clone();return r.__filtered__?r.__takeCount__=gn(n,r.__takeCount__):r.__views__.push({size:gn(n,h),type:e+(r.__dir__<0?"Right":"")}),r},Fn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),It(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Fn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ai(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),It(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Fn.prototype[e]=function(){return this[n](1).value()[0]}})),It(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Fn.prototype[e]=function(){return this.__filtered__?new Fn(this):this[n](1)}})),Fn.prototype.compact=function(){return this.filter(ns)},Fn.prototype.find=function(e){return this.filter(e).head()},Fn.prototype.findLast=function(e){return this.reverse().find(e)},Fn.prototype.invokeMap=Hr((function(e,t){return"function"==typeof e?new Fn(this):this.map((function(n){return Rr(n,e,t)}))})),Fn.prototype.reject=function(e){return this.filter(Pa(ai(e)))},Fn.prototype.slice=function(e,t){e=hu(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Fn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=hu(t))<0?n.dropRight(-t):n.take(t-e)),n)},Fn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Fn.prototype.toArray=function(){return this.take(h)},_r(Fn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Dn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Dn.prototype[t]=function(){var t=this.__wrapped__,u=r?[1]:arguments,s=t instanceof Fn,c=u[0],l=s||Ga(t),f=function(e){var t=i.apply(Dn,$t([e],u));return r&&p?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(s=l=!1);var p=this.__chain__,h=!!this.__actions__.length,d=a&&!p,v=s&&!h;if(!a&&l){t=v?t:new Fn(this);var m=e.apply(t,u);return m.__actions__.push({func:pa,args:[f],thisArg:o}),new Bn(m,p)}return d&&v?e.apply(this,u):(m=this.thru(f),d?r?m.value()[0]:m.value():m)})})),It(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Re[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Dn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ga(o)?o:[],e)}return this[n]((function(n){return t.apply(Ga(n)?n:[],e)}))}})),_r(Fn.prototype,(function(e,t){var n=Dn[t];if(n){var r=n.name+"";Le.call(An,r)||(An[r]=[]),An[r].push({name:t,func:n})}})),An[Do(o,2).name]=[{name:"wrapper",func:o}],Fn.prototype.clone=function(){var e=new Fn(this.__wrapped__);return e.__actions__=No(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=No(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=No(this.__views__),e},Fn.prototype.reverse=function(){if(this.__filtered__){var e=new Fn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Fn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ga(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=gn(t,e+a);break;case"takeRight":e=mn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,u=i.end,s=u-a,c=r?u:a-1,l=this.__iteratees__,f=l.length,p=0,h=gn(s,this.__takeCount__);if(!n||!r&&o==s&&h==s)return fo(e,this.__actions__);var d=[];e:for(;s--&&p<h;){for(var v=-1,m=e[c+=t];++v<f;){var g=l[v],_=g.iteratee,y=g.type,b=_(m);if(2==y)m=b;else if(!b){if(1==y)continue e;break e}}d[p++]=m}return d},Dn.prototype.at=ha,Dn.prototype.chain=function(){return fa(this)},Dn.prototype.commit=function(){return new Bn(this.value(),this.__chain__)},Dn.prototype.next=function(){this.__values__===o&&(this.__values__=fu(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Dn.prototype.plant=function(e){for(var t,n=this;n instanceof Vn;){var r=Di(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Dn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Fn){var t=e;return this.__actions__.length&&(t=new Fn(this)),(t=t.reverse()).__actions__.push({func:pa,args:[Qi],thisArg:o}),new Bn(t,this.__chain__)}return this.thru(Qi)},Dn.prototype.toJSON=Dn.prototype.valueOf=Dn.prototype.value=function(){return fo(this.__wrapped__,this.__actions__)},Dn.prototype.first=Dn.prototype.head,Ze&&(Dn.prototype[Ze]=function(){return this}),Dn}();ft._=dn,(r=function(){return dn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},9223:(e,t,n)=>{"use strict";const r=n(1471),o=Symbol("max"),i=Symbol("length"),a=Symbol("lengthCalculator"),u=Symbol("allowStale"),s=Symbol("maxAge"),c=Symbol("dispose"),l=Symbol("noDisposeOnSet"),f=Symbol("lruList"),p=Symbol("cache"),h=Symbol("updateAgeOnGet"),d=()=>1,v=(e,t,n)=>{const r=e[p].get(t);if(r){const t=r.value;if(m(e,t)){if(_(e,r),!e[u])return}else n&&(e[h]&&(r.value.now=Date.now()),e[f].unshiftNode(r));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[s])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[s]&&n>e[s]},g=e=>{if(e[i]>e[o])for(let t=e[f].tail;e[i]>e[o]&&null!==t;){const n=t.prev;_(e,t),t=n}},_=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[i]-=n.length,e[p].delete(n.key),e[f].removeNode(t)}};class y{constructor(e,t,n,r,o){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=o||0}}const b=(e,t,n,r)=>{let o=n.value;m(e,o)&&(_(e,n),e[u]||(o=void 0)),o&&t.call(r,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||d;if(this[a]="function"!=typeof t?d:t,this[u]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[s]=e.maxAge||0,this[c]=e.dispose,this[l]=e.noDisposeOnSet||!1,this[h]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,g(this)}get max(){return this[o]}set allowStale(e){this[u]=!!e}get allowStale(){return this[u]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[s]=e,g(this)}get maxAge(){return this[s]}set lengthCalculator(e){"function"!=typeof e&&(e=d),e!==this[a]&&(this[a]=e,this[i]=0,this[f].forEach((e=>{e.length=this[a](e.value,e.key),this[i]+=e.length}))),g(this)}get lengthCalculator(){return this[a]}get length(){return this[i]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let n=this[f].tail;null!==n;){const r=n.prev;b(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[f].head;null!==n;){const r=n.next;b(this,e,n,t),n=r}}keys(){return this[f].toArray().map((e=>e.key))}values(){return this[f].toArray().map((e=>e.value))}reset(){this[c]&&this[f]&&this[f].length&&this[f].forEach((e=>this[c](e.key,e.value))),this[p]=new Map,this[f]=new r,this[i]=0}dump(){return this[f].map((e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[f]}set(e,t,n){if((n=n||this[s])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,u=this[a](t,e);if(this[p].has(e)){if(u>this[o])return _(this,this[p].get(e)),!1;const a=this[p].get(e).value;return this[c]&&(this[l]||this[c](e,a.value)),a.now=r,a.maxAge=n,a.value=t,this[i]+=u-a.length,a.length=u,this.get(e),g(this),!0}const h=new y(e,t,u,r,n);return h.length>this[o]?(this[c]&&this[c](e,t),!1):(this[i]+=h.length,this[f].unshift(h),this[p].set(e,this[f].head),g(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!m(this,t)}get(e){return v(this,e,!0)}peek(e){return v(this,e,!1)}pop(){const e=this[f].tail;return e?(_(this,e),e.value):null}del(e){_(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],o=r.e||0;if(0===o)this.set(r.k,r.v);else{const e=o-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[p].forEach(((e,t)=>v(this,t,!1)))}}},456:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNavigator=t.isBrowser=t.off=t.on=t.noop=void 0,t.noop=function(){},t.on=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)},t.off=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)},t.isBrowser="undefined"!=typeof window,t.isNavigator="undefined"!=typeof navigator},4286:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1594);t.default=function(e){r.useEffect(e,[])}},1084:(e,t,n)=>{"use strict";var r=n(1594),o=n(456),i=o.isBrowser?window:null,a=function(e){return!!e.addEventListener},u=function(e){return!!e.on};t.A=function(e,t,n,s){void 0===n&&(n=i),r.useEffect((function(){if(t&&n)return a(n)?o.on(n,e,t,s):u(n)&&n.on(e,t,s),function(){a(n)?o.off(n,e,t,s):u(n)&&n.off(e,t,s)}}),[e,t,n,JSON.stringify(s)])}},9768:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7046),o=n(1594),i=r.__importDefault(n(2896));t.default=function(e){var t=o.useRef(0),n=o.useState(e),r=n[0],a=n[1],u=o.useCallback((function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame((function(){a(e)}))}),[]);return i.default((function(){cancelAnimationFrame(t.current)})),[r,u]}},2896:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7046),o=n(1594),i=r.__importDefault(n(4286));t.default=function(e){var t=o.useRef(e);t.current=e,i.default((function(){return function(){return t.current()}}))}},4843:(e,t,n)=>{"use strict";var r=n(7046),o=n(1594),i=r.__importDefault(n(9768)),a=n(456);t.A=function(e){var t=void 0===e?{}:e,n=t.initialWidth,r=void 0===n?1/0:n,u=t.initialHeight,s=void 0===u?1/0:u,c=t.onChange,l=i.default({width:a.isBrowser?window.innerWidth:r,height:a.isBrowser?window.innerHeight:s}),f=l[0],p=l[1];return o.useEffect((function(){if(a.isBrowser){var e=function(){var e=window.innerWidth,t=window.innerHeight;p({width:e,height:t}),c&&c(e,t)};return a.on(window,"resize",e),function(){a.off(window,"resize",e)}}}),[]),f}},1680:(e,t,n)=>{const r=Symbol("SemVer ANY");class o{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?a[u.COMPARATORLOOSE]:a[u.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new l(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return s(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new f(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new f(this.value,t).test(e.semver);const n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),u=s(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=s(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||i&&a||u||c}}e.exports=o;const i=n(9707),{re:a,t:u}=n(4502),s=n(1519),c=n(4040),l=n(676),f=n(1367)},1367:(e,t,n)=>{class r{constructor(e,t){if(t=i(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!d(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&v(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=o.get(t);if(n)return n;const r=this.options.loose,i=r?c[l.HYPHENRANGELOOSE]:c[l.HYPHENRANGE];e=e.replace(i,N(this.options.includePrerelease)),u("hyphen replace",e),e=e.replace(c[l.COMPARATORTRIM],f),u("comparator trim",e,c[l.COMPARATORTRIM]),e=(e=(e=e.replace(c[l.TILDETRIM],p)).replace(c[l.CARETTRIM],h)).split(/\s+/).join(" ");const s=r?c[l.COMPARATORLOOSE]:c[l.COMPARATOR],v=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>S(e,this.options))).filter(this.options.loose?e=>!!e.match(s):()=>!0).map((e=>new a(e,this.options))),m=(v.length,new Map);for(const e of v){if(d(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");const _=[...m.values()];return o.set(t,_),_}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>m(n,t)&&e.set.some((e=>m(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(R(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const o=new(n(9223))({max:1e3}),i=n(9707),a=n(1680),u=n(4040),s=n(676),{re:c,t:l,comparatorTrimReplace:f,tildeTrimReplace:p,caretTrimReplace:h}=n(4502),d=e=>"<0.0.0-0"===e.value,v=e=>""===e.value,m=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every((e=>o.intersects(e,t))),o=r.pop();return n},g=(e,t)=>(u("comp",e,t),e=w(e,t),u("caret",e),e=y(e,t),u("tildes",e),e=x(e,t),u("xrange",e),e=I(e,t),u("stars",e),e),_=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>b(e,t))).join(" "),b=(e,t)=>{const n=t.loose?c[l.TILDELOOSE]:c[l.TILDE];return e.replace(n,((t,n,r,o,i)=>{let a;return u("tilde",e,t,n,r,o,i),_(n)?a="":_(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:_(o)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:i?(u("replaceTilde pr",i),a=`>=${n}.${r}.${o}-${i} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${o} <${n}.${+r+1}.0-0`,u("tilde return",a),a}))},w=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{u("caret",e,t);const n=t.loose?c[l.CARETLOOSE]:c[l.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,o,i,a)=>{let s;return u("caret",e,t,n,o,i,a),_(n)?s="":_(o)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:_(i)?s="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:a?(u("replaceCaret pr",a),s="0"===n?"0"===o?`>=${n}.${o}.${i}-${a} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}-${a} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i}-${a} <${+n+1}.0.0-0`):(u("no pr"),s="0"===n?"0"===o?`>=${n}.${o}.${i}${r} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i} <${+n+1}.0.0-0`),u("caret return",s),s}))},x=(e,t)=>(u("replaceXRanges",e,t),e.split(/\s+/).map((e=>O(e,t))).join(" ")),O=(e,t)=>{e=e.trim();const n=t.loose?c[l.XRANGELOOSE]:c[l.XRANGE];return e.replace(n,((n,r,o,i,a,s)=>{u("xRange",e,n,r,o,i,a,s);const c=_(o),l=c||_(i),f=l||_(a),p=f;return"="===r&&p&&(r=""),s=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(l&&(i=0),a=0,">"===r?(r=">=",l?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===r&&(r="<",l?o=+o+1:i=+i+1),"<"===r&&(s="-0"),n=`${r+o}.${i}.${a}${s}`):l?n=`>=${o}.0.0${s} <${+o+1}.0.0-0`:f&&(n=`>=${o}.${i}.0${s} <${o}.${+i+1}.0-0`),u("xRange return",n),n}))},I=(e,t)=>(u("replaceStars",e,t),e.trim().replace(c[l.STAR],"")),S=(e,t)=>(u("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),N=e=>(t,n,r,o,i,a,u,s,c,l,f,p,h)=>`${n=_(r)?"":_(o)?`>=${r}.0.0${e?"-0":""}`:_(i)?`>=${r}.${o}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${s=_(c)?"":_(l)?`<${+c+1}.0.0-0`:_(f)?`<${c}.${+l+1}.0-0`:p?`<=${c}.${l}.${f}-${p}`:e?`<${c}.${l}.${+f+1}-0`:`<=${s}`}`.trim(),R=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(u(e[n].semver),e[n].semver!==a.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},676:(e,t,n)=>{const r=n(4040),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=n(8298),{re:a,t:u}=n(4502),s=n(9707),{compareIdentifiers:c}=n(4736);class l{constructor(e,t){if(t=s(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[u.LOOSE]:a[u.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof l)){if("string"==typeof e&&e===this.version)return 0;e=new l(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof l||(e=new l(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof l||(e=new l(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return c(n,o)}while(++t)}compareBuild(e){e instanceof l||(e=new l(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return c(n,o)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=l},2598:(e,t,n)=>{const r=n(5328);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},1519:(e,t,n)=>{const r=n(4337),o=n(7055),i=n(5276),a=n(7145),u=n(6755),s=n(4608);e.exports=(e,t,n,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,c);case"!=":return o(e,n,c);case">":return i(e,n,c);case">=":return a(e,n,c);case"<":return u(e,n,c);case"<=":return s(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},7514:(e,t,n)=>{const r=n(676),o=n(5328),{re:i,t:a}=n(4502);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=i[a.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),i[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[a.COERCERTL].lastIndex=-1}else n=e.match(i[a.COERCE]);return null===n?null:o(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},7165:(e,t,n)=>{const r=n(676);e.exports=(e,t,n)=>{const o=new r(e,n),i=new r(t,n);return o.compare(i)||o.compareBuild(i)}},8019:(e,t,n)=>{const r=n(7760);e.exports=(e,t)=>r(e,t,!0)},7760:(e,t,n)=>{const r=n(676);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},8600:(e,t,n)=>{const r=n(5328),o=n(4337);e.exports=(e,t)=>{if(o(e,t))return null;{const n=r(e),o=r(t),i=n.prerelease.length||o.prerelease.length,a=i?"pre":"",u=i?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==o[e])return a+e;return u}}},4337:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>0===r(e,t,n)},5276:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>r(e,t,n)>0},7145:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>r(e,t,n)>=0},6063:(e,t,n)=>{const r=n(676);e.exports=(e,t,n,o)=>{"string"==typeof n&&(o=n,n=void 0);try{return new r(e,n).inc(t,o).version}catch(e){return null}}},6755:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>r(e,t,n)<0},4608:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>r(e,t,n)<=0},8122:(e,t,n)=>{const r=n(676);e.exports=(e,t)=>new r(e,t).major},1438:(e,t,n)=>{const r=n(676);e.exports=(e,t)=>new r(e,t).minor},7055:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>0!==r(e,t,n)},5328:(e,t,n)=>{const{MAX_LENGTH:r}=n(8298),{re:o,t:i}=n(4502),a=n(676),u=n(9707);e.exports=(e,t)=>{if(t=u(t),e instanceof a)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new a(e,t)}catch(e){return null}}},9677:(e,t,n)=>{const r=n(676);e.exports=(e,t)=>new r(e,t).patch},9313:(e,t,n)=>{const r=n(5328);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},1394:(e,t,n)=>{const r=n(7760);e.exports=(e,t,n)=>r(t,e,n)},9461:(e,t,n)=>{const r=n(7165);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},5814:(e,t,n)=>{const r=n(1367);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},695:(e,t,n)=>{const r=n(7165);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},2137:(e,t,n)=>{const r=n(5328);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},9109:(e,t,n)=>{const r=n(4502);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(8298).SEMVER_SPEC_VERSION,SemVer:n(676),compareIdentifiers:n(4736).compareIdentifiers,rcompareIdentifiers:n(4736).rcompareIdentifiers,parse:n(5328),valid:n(2137),clean:n(2598),inc:n(6063),diff:n(8600),major:n(8122),minor:n(1438),patch:n(9677),prerelease:n(9313),compare:n(7760),rcompare:n(1394),compareLoose:n(8019),compareBuild:n(7165),sort:n(695),rsort:n(9461),gt:n(5276),lt:n(6755),eq:n(4337),neq:n(7055),gte:n(7145),lte:n(4608),cmp:n(1519),coerce:n(7514),Comparator:n(1680),Range:n(1367),satisfies:n(5814),toComparators:n(7279),maxSatisfying:n(9276),minSatisfying:n(6270),minVersion:n(9037),validRange:n(3570),outside:n(3843),gtr:n(8819),ltr:n(8590),intersects:n(3980),simplifyRange:n(7709),subset:n(4440)}},8298:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},4040:(e,t,n)=>{var r=n(1970);const o="object"==typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=o},4736:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),o=t.test(n);return r&&o&&(e=+e,n=+n),e===n?0:r&&!o?-1:o&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},9707:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},4502:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=n(8298),o=n(4040),i=(t=e.exports={}).re=[],a=t.src=[],u=t.t={};let s=0;const c=(e,t,n)=>{const r=s++;o(r,t),u[e]=r,a[r]=t,i[r]=new RegExp(t,n?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${a[u.NUMERICIDENTIFIER]})\\.(${a[u.NUMERICIDENTIFIER]})\\.(${a[u.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${a[u.NUMERICIDENTIFIERLOOSE]})\\.(${a[u.NUMERICIDENTIFIERLOOSE]})\\.(${a[u.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${a[u.NUMERICIDENTIFIER]}|${a[u.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${a[u.NUMERICIDENTIFIERLOOSE]}|${a[u.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${a[u.PRERELEASEIDENTIFIER]}(?:\\.${a[u.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${a[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[u.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${a[u.BUILDIDENTIFIER]}(?:\\.${a[u.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${a[u.MAINVERSION]}${a[u.PRERELEASE]}?${a[u.BUILD]}?`),c("FULL",`^${a[u.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${a[u.MAINVERSIONLOOSE]}${a[u.PRERELEASELOOSE]}?${a[u.BUILD]}?`),c("LOOSE",`^${a[u.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${a[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${a[u.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${a[u.XRANGEIDENTIFIER]})(?:\\.(${a[u.XRANGEIDENTIFIER]})(?:\\.(${a[u.XRANGEIDENTIFIER]})(?:${a[u.PRERELEASE]})?${a[u.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${a[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[u.XRANGEIDENTIFIERLOOSE]})(?:${a[u.PRERELEASELOOSE]})?${a[u.BUILD]}?)?)?`),c("XRANGE",`^${a[u.GTLT]}\\s*${a[u.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${a[u.GTLT]}\\s*${a[u.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",a[u.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${a[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${a[u.LONETILDE]}${a[u.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${a[u.LONETILDE]}${a[u.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${a[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${a[u.LONECARET]}${a[u.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${a[u.LONECARET]}${a[u.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${a[u.GTLT]}\\s*(${a[u.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${a[u.GTLT]}\\s*(${a[u.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${a[u.GTLT]}\\s*(${a[u.LOOSEPLAIN]}|${a[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${a[u.XRANGEPLAIN]})\\s+-\\s+(${a[u.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${a[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[u.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},8819:(e,t,n)=>{const r=n(3843);e.exports=(e,t,n)=>r(e,t,">",n)},3980:(e,t,n)=>{const r=n(1367);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},8590:(e,t,n)=>{const r=n(3843);e.exports=(e,t,n)=>r(e,t,"<",n)},9276:(e,t,n)=>{const r=n(676),o=n(1367);e.exports=(e,t,n)=>{let i=null,a=null,u=null;try{u=new o(t,n)}catch(e){return null}return e.forEach((e=>{u.test(e)&&(i&&-1!==a.compare(e)||(i=e,a=new r(i,n)))})),i}},6270:(e,t,n)=>{const r=n(676),o=n(1367);e.exports=(e,t,n)=>{let i=null,a=null,u=null;try{u=new o(t,n)}catch(e){return null}return e.forEach((e=>{u.test(e)&&(i&&1!==a.compare(e)||(i=e,a=new r(i,n)))})),i}},9037:(e,t,n)=>{const r=n(676),o=n(1367),i=n(5276);e.exports=(e,t)=>{e=new o(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const o=e.set[t];let a=null;o.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!i(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!a||n&&!i(n,a)||(n=a)}return n&&e.test(n)?n:null}},3843:(e,t,n)=>{const r=n(676),o=n(1680),{ANY:i}=o,a=n(1367),u=n(5814),s=n(5276),c=n(6755),l=n(4608),f=n(7145);e.exports=(e,t,n,p)=>{let h,d,v,m,g;switch(e=new r(e,p),t=new a(t,p),n){case">":h=s,d=l,v=c,m=">",g=">=";break;case"<":h=c,d=f,v=s,m="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(u(e,t,p))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let a=null,u=null;if(r.forEach((e=>{e.semver===i&&(e=new o(">=0.0.0")),a=a||e,u=u||e,h(e.semver,a.semver,p)?a=e:v(e.semver,u.semver,p)&&(u=e)})),a.operator===m||a.operator===g)return!1;if((!u.operator||u.operator===m)&&d(e,u.semver))return!1;if(u.operator===g&&v(e,u.semver))return!1}return!0}},7709:(e,t,n)=>{const r=n(5814),o=n(7760);e.exports=(e,t,n)=>{const i=[];let a=null,u=null;const s=e.sort(((e,t)=>o(e,t,n)));for(const e of s)r(e,t,n)?(u=e,a||(a=e)):(u&&i.push([a,u]),u=null,a=null);a&&i.push([a,null]);const c=[];for(const[e,t]of i)e===t?c.push(e):t||e!==s[0]?t?e===s[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const l=c.join(" || "),f="string"==typeof t.raw?t.raw:String(t);return l.length<f.length?l:t}},4440:(e,t,n)=>{const r=n(1367),{ANY:o}=n(1680),i=n(5814),a=n(7760),u=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o)return 1===t.length&&t[0].semver===o;const r=new Set;let u,l,f,p,h,d,v;for(const t of e)">"===t.operator||">="===t.operator?u=s(u,t,n):"<"===t.operator||"<="===t.operator?l=c(l,t,n):r.add(t.semver);if(r.size>1)return null;if(u&&l){if(f=a(u.semver,l.semver,n),f>0)return null;if(0===f&&(">="!==u.operator||"<="!==l.operator))return null}for(const e of r){if(u&&!i(e,String(u),n))return null;if(l&&!i(e,String(l),n))return null;for(const r of t)if(!i(e,String(r),n))return!1;return!0}for(const e of t){if(v=v||">"===e.operator||">="===e.operator,d=d||"<"===e.operator||"<="===e.operator,u)if(">"===e.operator||">="===e.operator){if(p=s(u,e,n),p===e&&p!==u)return!1}else if(">="===u.operator&&!i(u.semver,String(e),n))return!1;if(l)if("<"===e.operator||"<="===e.operator){if(h=c(l,e,n),h===e&&h!==l)return!1}else if("<="===l.operator&&!i(l.semver,String(e),n))return!1;if(!e.operator&&(l||u)&&0!==f)return!1}return!(u&&d&&!l&&0!==f||l&&v&&!u&&0!==f)},s=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},c=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n)=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let o=!1;e:for(const r of e.set){for(const e of t.set){const t=u(r,e,n);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},7279:(e,t,n)=>{const r=n(1367);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},3570:(e,t,n)=>{const r=n(1367);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},8499:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},1471:(e,t,n)=>{"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,o=arguments.length;n<o;n++)t.push(arguments[n]);return t}function o(e,t,n){var r=t===e.head?new u(n,null,t,e):new u(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function i(e,t){e.tail=new u(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,t){e.head=new u(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function u(e,t,n,r){if(!(this instanceof u))return new u(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=u,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,o=this.head;null!==o;)n.push(e.call(t,o.value,this)),o=o.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,o=this.tail;null!==o;)n.push(e.call(t,o.value,this)),o=o.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var o=0;null!==r;o++)n=e(n,r.value,o),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var o=this.length-1;null!==r;o--)n=e(n,r.value,o),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var o=0,i=this.head;null!==i&&o<e;o++)i=i.next;for(;null!==i&&o<t;o++,i=i.next)n.push(i.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var o=this.length,i=this.tail;null!==i&&o>t;o--)i=i.prev;for(;null!==i&&o>e;o--,i=i.prev)n.push(i.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,i=this.head;null!==i&&r<e;r++)i=i.next;var a=[];for(r=0;i&&r<t;r++)a.push(i.value),i=this.removeNode(i);for(null===i&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev),r=0;r<n.length;r++)i=o(this,i,n[r]);return a},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(8499)(r)}catch(e){}},7250:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseImage=void 0;const i=o(n(1594)),a=o(n(8443)),u=o(n(6006));function s(e){var{alt:t,className:n,fullWidth:o}=e,s=r(e,["alt","className","fullWidth"]);return i.default.createElement("img",Object.assign({"data-bit-id":"teambit.base-ui/elements/image",alt:t},s,{className:a.default(u.default.image,o&&u.default.fullWidth,n)}))}s.__bit_component={id:"teambit.base-ui/elements/image@1.0.0",homepage:"https://bit.dev/teambit/base-ui/elements/image",exported:!0},t.BaseImage=s},5559:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7250),t)},8814:(e,t,n)=>{"use strict";var r=n(5711);function o(){const e=r(n(4390));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.BitError=void 0,o.__bit_component={id:"teambit.harmony/bit-error@0.0.365",homepage:"https://bit.dev/teambit/harmony/bit-error",exported:!0};class i extends Error{constructor(e){super(e||""),(0,o().default)(this,"isUserError",!0),this.name=this.constructor.name}report(){return this.message}}t.BitError=i},8410:(e,t,n)=>{"use strict";function r(){const e=n(8814);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BitError",{enumerable:!0,get:function(){return r().BitError}}),r.__bit_component={id:"teambit.harmony/bit-error@0.0.365",homepage:"https://bit.dev/teambit/harmony/bit-error",exported:!0}},9566:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBubbleGraph=void 0;const r=n(1165);function o(e){return e.map((e=>r.GridNode.fromPlain(e)))}o.__bit_component={id:"teambit.community/entity/graph/bubble-graph@1.95.0",homepage:"https://bit.dev/teambit/community/entity/graph/bubble-graph",exported:!0},t.createBubbleGraph=o},1756:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mockBubbleGraph=void 0;const r=n(1165),o=n(9566);function i(){return(0,o.createBubbleGraph)([{id:"teambit.community/ui/homepage/hero@1.0.1",dependencies:["teambit.community/entities/hero-graph","teambit.community/ui/content/heading",{id:"teambit.design/ui/content/subtitle",edge:{start:"bottom",end:"right"}},{id:"teambit.documenter/ui/copy-box",edge:{start:"bottom",end:"right"}}],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:3,col:10,sizes:{lg:{row:2,col:10},md:{row:3,col:11},sm:{row:null,col:null}},position:"top-right"},{id:"teambit.community/ui/homepage/homepage@1.1.2",dependencies:["teambit.community/ui/homepage/hero"],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:2,col:11,sizes:{lg:{row:1,col:10},md:{row:1,col:10},sm:{row:null,col:null}},position:"top-right"},{id:"teambit.community/apps/website@1.2.1",dependencies:["teambit.community/ui/homepage/homepage"],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:3,col:11,sizes:{lg:{row:1,col:7},md:{row:1,col:7},sm:{row:null,col:null}},position:"top-right"},{id:"teambit.design/ui/content/heading@2.2.1",dependencies:[{id:"teambit.community/ui/content/heading",edge:{direction:r.Direction.TAIL}}],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:3,col:1,sizes:{lg:{row:1,col:1},sm:{row:null,col:null}},position:"right"},{id:"teambit.react-base/buttons/button@2.0.3",dependencies:["teambit.react-base/navigation/link",{id:"teambit.design/ui/buttons/button",edge:{direction:r.Direction.TAIL}}],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:5,col:2,sizes:{lg:{row:4,col:2},md:{row:5,col:1},sm:{row:null,col:null}},position:"top-right"},{id:"teambit.react-base/navigation/link@1.2.9",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:4,col:1,sizes:{lg:{row:3,col:1},md:{row:5,col:5},sm:{row:null,col:null}}},{id:"teambit.community/entities/hero-graph@1.3.1",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-nodejs.svg"},row:2,col:9,sizes:{lg:{row:3,col:11},md:{row:5,col:11},sm:{row:null,col:null}},position:"top-right"},{id:"teambit.workspace/workspace@1.4.1",dependencies:["teambit.component/component","teambit.ui-foundation/ui/component-tree","teambit.ui-foundation/ui/top-bar"],payload:{icon:"https://static.bit.dev/Community/icons/workspace-edit.svg"},row:6,col:11,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.scope/scope@1.3.1",dependencies:["teambit.component/component","teambit.ui-foundation/ui/top-bar"],payload:{icon:"https://static.bit.dev/Community/icons/collection.svg"},row:5,col:10,sizes:{lg:{row:null,col:null}},position:"bottom"},{id:"teambit.component/component@1.3.1",dependencies:[],payload:{icon:"https://static.bit.dev/Community/icons/workspace.svg"},row:5,col:11,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"teambit.ui-foundation/ui/component-tree@1.2.1",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:7,col:10,sizes:{lg:{row:null,col:null}},position:"bottom"},{id:"teambit.ui-foundation/ui/top-bar@1.0.1",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:6,col:9,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.compilation/compiler@1.3.1",dependencies:[],payload:{icon:"https://static.bit.dev/Community/icons/compile.svg?123"},row:6,col:7,sizes:{lg:{row:null,col:null}}},{id:"teambit.compilation/babel@1.1.0",dependencies:["teambit.compilation/compiler"],payload:{icon:"https://static.bit.dev/Community/icons/babel-puzzle.svg"},row:7,col:8,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"teambit.typescript/typescript@1.3.1",dependencies:["teambit.compilation/compiler"],payload:{icon:"https://static.bit.dev/Community/icons/typescript-puzzle.svg"},row:7,col:6,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"teambit.tester/tester@1.2.1",dependencies:[],payload:{icon:"https://static.bit.dev/Community/icons/tester.svg"},row:7,col:7,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.linting/linter@1.2.1",dependencies:["teambit.tester/eslint"],payload:{icon:"https://static.bit.dev/Community/icons/linter.svg"},row:5,col:6,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.tester/eslint@1.2.1",dependencies:[],payload:{icon:"https://static.bit.dev/Community/icons/esling.svg"},row:6,col:5,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"teambit.react/react@2.0.1",dependencies:["teambit.typescript/typescript","teambit.tester/jest","teambit.tester/eslint"],payload:{icon:"https://static.bit.dev/Community/icons/reactjs-puzzle.svg"},row:6,col:4,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.tester/jest@3.2.1",dependencies:["teambit.tester/tester"],payload:{icon:"https://static.bit.dev/brands/logo-nodejs.svg"},row:7,col:5,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"learn-bit-angular.ecommerce/store@1.3.1",dependencies:["learn-bit-angular.ecommerce/cart","learn-bit-angular.ecommerce/product","learn-bit-angular.ecommerce/hero"],payload:{icon:"https://static.bit.dev/brands/logo-angular.svg"},row:1,col:5,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"learn-bit-angular.ecommerce/cart@1.3.1",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-angular.svg"},row:1,col:4,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"learn-bit-angular.ecommerce/hero@1.1.5",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-angular.svg"},row:2,col:7,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"learn-bit-angular.ecommerce/product@1.3.1",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-angular.svg"},row:1,col:6,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"teambit.mdx/mdx@3.1.2",dependencies:["teambit.mdx/modules/mdx-compiler"],payload:{icon:"https://static.bit.dev/brands/logo-nodejs.svg"},row:2,col:1,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.mdx/babel/mdx-loader@3.1.2",dependencies:["teambit.mdx/modules/mdx-compiler"],payload:{icon:"https://static.bit.dev/brands/logo-nodejs.svg"},row:1,col:1,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.mdx/modules/mdx-compiler@1.0.12",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-nodejs.svg"},row:1,col:2,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.mdx/ui/pages/book-page@0.0.2",dependencies:["teambit.mdx/ui/book-list","teambit.frontend/ui/angular-renderer",{id:"learn-bit-react.angular-in-react/books/recommendations",edge:{start:"bottom",end:"top"}}],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:5,col:2,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.frontend/ui/angular-renderer@0.0.2",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:5,col:1,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"learn-bit-react.angular-in-react/books/recommendations@0.0.2",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-angular.svg"},row:7,col:1,sizes:{lg:{row:null,col:null}},position:"top-right"},{id:"teambit.mdx/ui/book-list@0.0.2",dependencies:["teambit.mdx/ui/hooks/use-book","learn-bit-react.data-fetching/models/book"],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:6,col:2,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"teambit.mdx/ui/hooks/use-book@0.0.2",dependencies:["learn-bit-react.data-fetching/models/book"],payload:{icon:"https://static.bit.dev/brands/logo-react.svg"},row:7,col:2,sizes:{lg:{row:null,col:null}},position:"bottom-right"},{id:"learn-bit-react.data-fetching/models/book@0.0.2",dependencies:[],payload:{icon:"https://static.bit.dev/brands/logo-nodejs.svg"},row:7,col:3,sizes:{lg:{row:null,col:null}},position:"bottom-right"}])}i.__bit_component={id:"teambit.community/entity/graph/bubble-graph@1.95.0",homepage:"https://bit.dev/teambit/community/entity/graph/bubble-graph",exported:!0},t.mockBubbleGraph=i},8557:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mockBubbleGraph=t.createBubbleGraph=void 0;var r=n(9566);Object.defineProperty(t,"createBubbleGraph",{enumerable:!0,get:function(){return r.createBubbleGraph}});var o=n(1756);Object.defineProperty(t,"mockBubbleGraph",{enumerable:!0,get:function(){return o.mockBubbleGraph}})},8782:(e,t)=>{"use strict";function n(e){return e.replace(/[.\/]/g,"-")}Object.defineProperty(t,"__esModule",{value:!0}),t.getAttrValidId=void 0,n.__bit_component={id:"teambit.community/entity/graph/grid-graph@1.95.0",homepage:"https://bit.dev/teambit/community/entity/graph/grid-graph",exported:!0},t.getAttrValidId=n},2560:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DependencyEdge=void 0;const r=n(2470),o=n(8782);class i{constructor(e,t){this.id=e,this.edge=t}get attrId(){return(0,o.getAttrValidId)(this.id.toStringWithoutVersion())}static fromPlain(e){return"string"==typeof e?new i(r.ComponentID.fromString(e)):new i(r.ComponentID.fromString(e.id),e.edge)}}t.DependencyEdge=i},4012:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Direction=void 0,(n=t.Direction||(t.Direction={})).NONE="none",n.BI="bi",n.HEAD="head",n.TAIL="tail"},8810:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.GridNode=void 0;const o=n(2470),i=n(8782),a=n(2560);class u{constructor(e,t=[],n,r,o,i,a){this.id=e,this.dependencies=t,this.row=n,this.col=r,this.sizes=o,this.position=i,this.payload=a}get attrId(){return(0,i.getAttrValidId)(this.id.toStringWithoutVersion())}static fromPlain(e){var{id:t,dependencies:n=[],col:i,row:s,sizes:c,position:l}=e,f=r(e,["id","dependencies","col","row","sizes","position"]);return new u(o.ComponentID.fromString(t),n.map((e=>a.DependencyEdge.fromPlain(e))),s,i,c,l,f.payload)}}t.GridNode=u},1165:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Direction=t.GridNode=t.DependencyEdge=void 0;var r=n(2560);Object.defineProperty(t,"DependencyEdge",{enumerable:!0,get:function(){return r.DependencyEdge}});var o=n(8810);Object.defineProperty(t,"GridNode",{enumerable:!0,get:function(){return o.GridNode}});var i=n(4012);Object.defineProperty(t,"Direction",{enumerable:!0,get:function(){return i.Direction}})},4119:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentID=void 0;const r=n(824),o=n(7889);class i{constructor(e,t){this.legacyComponentId=e,this._scope=t}get _legacy(){return this.legacyComponentId}hasVersion(){return this._legacy.hasVersion()}get version(){return this.legacyComponentId.version}get namespace(){return this.legacyComponentId.name.split("/").slice(0,-1).join("/")}get fullName(){return this._legacy.name}get name(){const e=this.legacyComponentId.name.split("/");return e[e.length-1]}get scope(){const e=this._legacy.scope;if(e)return e;if(!this._scope)throw new Error("scope cannot be undefined");return this._scope}changeScope(e){const t=this._legacy.changeScope(e);return i.fromLegacy(t)}changeVersion(e){const t=this._legacy.changeVersion(e);return i.fromLegacy(t,this.scope)}isEqual(e,t){return i.isEqual(this,e,t)}getVersionPreReleaseData(){return this._legacy.getVersionPreReleaseData()}toStringWithoutVersion(){let e=this._legacy;return this._scope&&!this._legacy.scope&&(e=e.changeScope(this._scope)),e.toStringWithoutVersion()}toString(e={}){let t=this._legacy;return this._scope&&!this._legacy.scope&&(t=t.changeScope(this._scope)),t.toString(!1,e.ignoreVersion)}toObject(){const e=this.legacyComponentId.serialize();return e.scope||(e.scope=this.scope),e}static tryFromString(e,t){try{return i.fromString(e,t)}catch(e){return}}static fromString(e,t){const n=r.BitId.parse(e,!0);if(!t&&!n.scope)throw new o.MissingScope(e);return new i(n,t)}static fromLegacyString(e,t){const n=r.BitId.parse(e,!1);return new i(n,t)}static fromObject(e,t){return i.fromLegacy(new r.BitId(e),t)}static isValidObject(e){return"object"==typeof e&&"string"==typeof e.name&&"string"==typeof e.scope}static isEqual(e,t,n={}){if(!e&&!t)return!0;if(!e||!t)return!1;let r=e.scope===t.scope&&e.toString({ignoreVersion:n.ignoreVersion})===t.toString({ignoreVersion:n.ignoreVersion});return n.ignoreVersion||(r=r&&e.version===t.version),r}static isEqualObj(e,t,n={}){if(!e&&!t)return!0;if(!e||!t)return!1;let r=e.scope===t.scope&&e.name===t.name;return n.ignoreVersion||(r=r&&e.version===t.version),r}static fromLegacy(e,t){if(!t&&!e.scope)throw new o.MissingScope(e);return new i(e,t)}}t.ComponentID=i},7889:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingScope=void 0;const r=n(452);Object.defineProperty(t,"MissingScope",{enumerable:!0,get:function(){return r.MissingScope}})},452:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingScope=void 0;class n extends Error{constructor(e){super(`scope was not defined directly or by "${e}"`)}report(){return this.message}}t.MissingScope=n},2470:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentID=void 0;var r=n(4119);Object.defineProperty(t,"ComponentID",{enumerable:!0,get:function(){return r.ComponentID}})},5564:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidVersion=void 0;const o=r(n(7790));t.InvalidVersion=o.default},7790:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8410);class o extends r.BitError{constructor(e){super(`error: version ${e||"(empty)"} is not a valid semantic version. learn more: https://semver.org`)}}t.default=o},3309:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidVersion=t.isTag=t.isSnap=t.isHash=t.versionParser=t.LATEST_VERSION=t.Version=void 0;const a=n(3109);Object.defineProperty(t,"Version",{enumerable:!0,get:function(){return a.Version}}),Object.defineProperty(t,"LATEST_VERSION",{enumerable:!0,get:function(){return a.LATEST_VERSION}});const u=i(n(9197));t.versionParser=u.default,Object.defineProperty(t,"isHash",{enumerable:!0,get:function(){return u.isHash}}),Object.defineProperty(t,"isSnap",{enumerable:!0,get:function(){return u.isSnap}}),Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return u.isTag}});const s=n(5564);Object.defineProperty(t,"InvalidVersion",{enumerable:!0,get:function(){return s.InvalidVersion}})},9197:function(e,t,n){"use strict";var r={id:"teambit.component/component-version@0.0.366",homepage:"https://bit.dev/teambit/component/component-version",exported:!0},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isSnap=t.isTag=t.isHash=t.LATEST_TESTED_MARK=t.HASH_SIZE=void 0;const i=o(n(9109)),a=n(5564),u=n(3109);function s(e){return e===u.LATEST_VERSION}function c(e){if(!e.includes(t.LATEST_TESTED_MARK))return!1;const n=e.split(t.LATEST_TESTED_MARK);if(2!==n.length)return!1;const[,r]=n;return!!l(r)}function l(e){return i.default.valid(e)}function f(e){return new u.Version(e,!1)}function p(e){const[,n]=e.split(t.LATEST_TESTED_MARK);return new u.Version(n,!0)}function h(){return new u.Version(null,!0)}function d(e){return new u.Version(e,!1)}function v(e){return f(`0.0.${e}`)}function m(e){return"string"==typeof e&&e.length===t.HASH_SIZE}function g(e){return!m(e)}function _(e){return m(e)}function y(e){if(!e)return h();if("string"==typeof e&&s(e))return h();if("string"==typeof e&&c(e))return p(e);if("string"==typeof e&&l(e))return f(e);if("string"!=typeof e&&Number.isInteger(e))return v(e);if(m(e))return d(e);throw new a.InvalidVersion(e.toString())}t.HASH_SIZE=40,t.LATEST_TESTED_MARK="*",s.__bit_component=r,c.__bit_component=r,l.__bit_component=r,f.__bit_component=r,p.__bit_component=r,h.__bit_component=r,d.__bit_component=r,v.__bit_component=r,m.__bit_component=r,t.isHash=m,g.__bit_component=r,t.isTag=g,_.__bit_component=r,t.isSnap=_,y.__bit_component=r,t.default=y},3109:function(e,t,n){"use strict";var r={id:"teambit.component/component-version@0.0.366",homepage:"https://bit.dev/teambit/component/component-version",exported:!0},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Version=t.LATEST_VERSION=void 0;const i=o(n(9109)),a=n(5564);t.LATEST_VERSION="latest",t.Version=class{constructor(e,t){this.versionNum=e,this.latest=t}resolve(e){const t=()=>i.default.maxSatisfying(e,"*",{includePrerelease:!0});return t.__bit_component=r,this.latest?t():this.versionNum}toString(){if(!this.versionNum&&this.latest)return"latest";if(this.versionNum&&this.latest)return`*${this.versionNum}`;if(this.versionNum&&!this.latest)return this.versionNum.toString();throw new a.InvalidVersion(this.versionNum)}isLaterThan(e){return!this.versionNum||this.versionNum===t.LATEST_VERSION||!(!e.versionNum||e.versionNum===t.LATEST_VERSION)&&i.default.gt(this.versionNum,e.versionNum)}}},6912:(e,t,n)=>{"use strict";var r={id:"teambit.component/content/component-overview@1.95.0",homepage:"https://bit.dev/teambit/component/content/component-overview",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=g,f(n(1594));var o=n(5016),i=n(5682),a=n(621),u=f(n(9263)),s=f(n(7603)),c=f(n(742)),l=["components"];function f(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function h(e,t){if(null==e)return{};var n,r,o=d(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}f.__bit_component=r,p.__bit_component=r,h.__bit_component=r,d.__bit_component=r;var v={},m="wrapper";function g(e){var t=e.components,n=h(e,l);return(0,o.mdx)(m,p({},v,n,{components:t,mdxType:"MDXLayout"}),(0,o.mdx)(i.MDXScopeProvider,{components:{Image:a.Image,scopeWorkspace:u.default,workspaceScope:s.default,componentImg:c.default},mdxType:"MDXScopeProvider"},(0,o.mdx)("h1",null,"Component Overview"),(0,o.mdx)("p",null,(0,o.mdx)("strong",{parentName:"p"},"Bit Component")," is a container designed for single module or component, it allow you to decouple and version independent components.",(0,o.mdx)("br",{parentName:"p"}),"\n","It is the most fundamental building block of Bit and what enables component-driven software. Create, maintain and compose components to apps and systems."),(0,o.mdx)("p",null,"Each component has a unique ",(0,o.mdx)("a",{parentName:"p",href:"/components/component-id"},"ID")," and contains ",(0,o.mdx)("a",{parentName:"p",href:"/components/source-code"},"Source Code"),", ",(0,o.mdx)("a",{parentName:"p",href:"/dependencies/overview"},"Dependencies"),", ",(0,o.mdx)("a",{parentName:"p",href:"/components/artifact"},"Artifacts"),", ",(0,o.mdx)("a",{parentName:"p",href:"/components/component-config"},"Configuration")," and ",(0,o.mdx)("a",{parentName:"p",href:"/components/metadata"},"Metadata"),". Component generate and manage its own artifacts, like ",(0,o.mdx)("a",{parentName:"p",href:"/packages/package"},"Package"),", ",(0,o.mdx)("a",{parentName:"p",href:"/compiler/dist"},"Distribution"),", and even a ",(0,o.mdx)("a",{parentName:"p",href:"/preview/preview"},"Preview"),".",(0,o.mdx)("br",{parentName:"p"}),"\n","Components are connected together through dependencies, as Bit forms a complete dependency graph of your codebase."),(0,o.mdx)(a.Image,{width:"30%",src:c.default,alt:"Bit Components",mdxType:"Image"}),(0,o.mdx)("p",null,(0,o.mdx)("a",{parentName:"p",href:"/docs/workspace/workspace-overview"},"Workspaces")," is where components are developed. You can ",(0,o.mdx)("a",{parentName:"p",href:"/docs/components/snaps"},"snap")," a component to save changes for component, or ",(0,o.mdx)("a",{parentName:"p",href:"/docs/components/tags"},"tag")," and use semver to version a set of changes. Bit persists these changes to builds the component history, and stores it for the workspace. Using ",(0,o.mdx)("a",{parentName:"p",href:"/docs/components/importing-components"},"import")," and ",(0,o.mdx)("a",{parentName:"p",href:"/docs/components/exporting-components"},"export")," to sync these changes to a remote scope."),(0,o.mdx)(a.Image,{width:"50%",src:u.default,mdxType:"Image"}),(0,o.mdx)("hr",null),(0,o.mdx)("p",null,"The following steps walk you through a basic component synchronization workflow.",(0,o.mdx)("br",{parentName:"p"}),"\n","Start with ",(0,o.mdx)("inlineCode",{parentName:"p"},"import"),"ing a component to a Bit workspace:"),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit import teambit.harmony/content/aspects-overview\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"successfully imported one component\n- up to date teambit.harmony/content/aspects-overview \n")),(0,o.mdx)("p",null,"Import fetches a component and it's complete history from a remote scope to your workspace.",(0,o.mdx)("br",{parentName:"p"}),"\n","Use ",(0,o.mdx)("inlineCode",{parentName:"p"},"list")," to check which components are available in the workspace and get their current version."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit list\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"┌──────────────────────────────────────────┬─────────────────┬───────────────────┐\n│ component ID │ latest in scope │ used in workspace │\n├──────────────────────────────────────────┼─────────────────┼───────────────────┤\n│ teambit.harmony/content/aspects-overview │ 0.0.3 │ 0.0.3 │\n└──────────────────────────────────────────┴─────────────────┴───────────────────┘\n")),(0,o.mdx)("p",null,"You can apply changes to any component in your workspace and run ",(0,o.mdx)("inlineCode",{parentName:"p"},"status")," to see that Bit recognizes it."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit status\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},'modified components\n(use "bit tag --all [version]" to lock a version with all your changes)\n(use "bit diff" to compare changes)\n\n > content/aspects-overview ... ok\n')),(0,o.mdx)("p",null,"As the previous version of the component is logged as part of the component, use ",(0,o.mdx)("inlineCode",{parentName:"p"},"diff")," to see the modifications."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit diff teambit.harmony/content/aspects-overview\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"------------------------------------------------------------------\nshowing diff for teambit.harmony/content/aspects-overview\n------------------------------------------------------------------\n--- aspects-overview.mdx (0.0.3 original)\n+++ aspects-overview.mdx (0.0.3 modified)\n@@ -56,7 +56,6 @@ export class MyOtherAspect {\n \n...\n")),(0,o.mdx)("p",null,"After reviewing your changes, version the component using either ",(0,o.mdx)("inlineCode",{parentName:"p"},"bit tag")," or ",(0,o.mdx)("inlineCode",{parentName:"p"},"bit snap"),"."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},'bit tag --all 10.0.0 --message "my own version"\n')),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},'1 component(s) tagged\n(use "bit export [collection]" to push these components to a remote")\n(use "bit untag" to unstage versions)\n\nchanged components\n(components that got a version bump)\n > teambit.harmony/content/aspects-overview@1.0.0\n')),(0,o.mdx)("p",null,"Local versions can be exported and synced back to the remote scope with the ",(0,o.mdx)("inlineCode",{parentName:"p"},"export")," command."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit export\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"exported the following 1 component(s):\nteambit.harmony/content/aspects-overview\n")),(0,o.mdx)("p",null,"When a new version is synced to the scope, other workspaces may sync themselves with all remote changes. Using ",(0,o.mdx)("inlineCode",{parentName:"p"},"import")," with no other options tells Bit to update all components in the workspace."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit import\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"- updated teambit.harmony/content/aspects-overview new versions: 1.0.0 \n")),(0,o.mdx)("p",null,"Now that you have the latest changes synced, use ",(0,o.mdx)("inlineCode",{parentName:"p"},"checkout")," to show them in your workspace."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit checkout latest --all\n")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"successfully switched the following components to their latest version\n\nteambit.harmony/content/aspects-overview@1.0.0\n updated aspect-graph.ts \n updated aspects-overview.composition.tsx \n updated aspects-overview.docs.mdx \n auto-merged aspects-overview.mdx \n updated composability.png \n updated index.ts \n"))))}g.__bit_component=r,g.isMDXComponent=!0},8271:(e,t,n)=>{"use strict";Object.defineProperty(t,"Ay",{enumerable:!0,get:function(){return r.default}});var r=o(n(6912));function o(e){return e&&e.__esModule?e:{default:e}}o.__bit_component={id:"teambit.component/content/component-overview@1.95.0",homepage:"https://bit.dev/teambit/component/content/component-overview",exported:!0}},7603:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.aspectGraph=void 0;var r=(0,n(8557).createBubbleGraph)([{id:"teambit.workspace/workspace@1.0.0",payload:{icon:"https://static.bit.dev/Community/icons/workspace-edit.svg"},dependencies:["teambit.scope/scope","teambit.harmony/logger","teambit.component/component"],col:2,position:"top-left"},{id:"teambit.scope/scope@1.0.1",dependencies:["teambit.component/component"],payload:{icon:"https://static.bit.dev/Community/icons/collection.svg"},col:5,position:"top-left"},{id:"teambit.component/component@1.0.1",dependencies:["teambit.harmony/logger"],payload:{icon:"https://static.bit.dev/Community/icons/workspace.svg"},row:5,col:2,position:"top-left"},{id:"teambit.harmony/logger@1.0.1",dependencies:[],payload:{icon:"https://static.bit.dev/Community/icons/aspect.svg"},row:5,col:1,position:"top-left"}]);t.aspectGraph=r},621:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Image:()=>m});var r=n(1594),o=n.n(r),i=n(9685),a=n.n(i);n(8552);const u=ReactDom;var s=n(1084),c=n(4843),l=n(7046),f=function(e){return e+"ms"},p={getBoundingClientRect:function(){return{height:0,left:0,top:0,width:0}},style:{transform:null}},h=(0,r.memo)((function(e){var t=e.children,n=e.closeText,i=void 0===n?"Unzoom Image":n,a=e.onUnload,h=e.onLoad,d=e.overlayBgColorEnd,v=void 0===d?"rgba(255, 255, 255, 0.95)":d,m=e.overlayBgColorStart,g=void 0===m?"rgba(255, 255, 255, 0)":m,_=e.parentRef,y=e.portalEl,b=void 0===y?document.body:y,w=e.scrollableEl,E=void 0===w?window:w,x=e.transitionDuration,O=void 0===x?300:x,I=e.zoomMargin,S=void 0===I?0:I,N=e.zoomZindex,R=void 0===N?2147483647:N,A=(0,r.useRef)(null),j=(0,r.useState)(0)[1],T=(0,r.useState)(!1),$=T[0],L=T[1],P=(0,r.useState)(!1),C=P[0],M=P[1],k=(0,c.A)(),D=k.width,z=k.height,V=(0,r.useCallback)((function(e){e.preventDefault(),M(!0)}),[]),B=(0,r.useCallback)((function(e){"Escape"!==e.key&&27!==e.keyCode||(e.stopPropagation(),M(!0))}),[]),F=(0,r.useCallback)((function(){j((function(e){return e+1})),C||M(!0)}),[C]);(0,s.A)("keydown",B,document),(0,s.A)("scroll",F,E),(0,r.useEffect)((function(){L(!0),h(),A.current&&A.current.focus({preventScroll:!0})}),[h]),(0,r.useEffect)((function(){var e=C?setTimeout(a,O):null;return function(){e&&clearTimeout(e)}}),[C,a,O]);var G=_.current||p,U=G.getBoundingClientRect(),W=U.height,X=U.left,H=U.top,q=U.width,Z=function(e){var t=e.isLoaded,n=e.isUnloading,r=e.overlayBgColorEnd,o=e.zoomZindex,i={backgroundColor:e.overlayBgColorStart,transitionDuration:f(e.transitionDuration),zIndex:o};return t&&!n&&(i.backgroundColor=r),i}({isLoaded:$,isUnloading:C,overlayBgColorEnd:v,overlayBgColorStart:g,transitionDuration:O,zoomZindex:R}),Y=function(e){var t=e.height,n=e.innerHeight,r=e.innerWidth,o=e.isLoaded,i=e.isUnloading,a=e.left,u=e.originalTransform,s=e.top,c=e.transitionDuration,p=e.width,h=e.zoomMargin,d=f(c);if(!o||i){var v=(0,l.__spreadArrays)(["scale(1)","translate(0, 0)"],u?[u]:[]).join(" ");return{height:t,left:a,top:s,transform:v,WebkitTransform:v,transitionDuration:d,width:p}}var m=function(e){var t=e.zoomMargin,n=e.innerWidth/(e.width+t),r=e.innerHeight/(e.height+t);return Math.min(n,r)}({height:t,innerWidth:r,innerHeight:n,width:p,zoomMargin:h}),g=(r/2-(a+p/2))/m,_=(n/2-(s+t/2))/m,y=(0,l.__spreadArrays)(["scale("+m+")","translate("+g+"px, "+_+"px)"],u?[u]:[]).join(" ");return{height:t,left:a,top:s,transform:y,WebkitTransform:y,transitionDuration:d,width:p}}({height:W,isLoaded:$,innerHeight:z,innerWidth:D,isUnloading:C,left:X,originalTransform:G.style.transform,top:H,transitionDuration:O,width:q,zoomMargin:S});return(0,u.createPortal)(o().createElement("div",{"aria-modal":!0,"data-rmiz-overlay":!0,role:"dialog",style:Z},o().createElement("div",{"data-rmiz-modal-content":!0,style:Y},t),o().createElement("button",{"aria-label":i,"data-rmiz-btn-close":!0,onClick:V,ref:A})),b)}));const d=(0,r.memo)((function(e){var t=e.children,n=e.closeText,i=void 0===n?"Unzoom image":n,a=e.overlayBgColorEnd,u=void 0===a?"rgba(255, 255, 255, 0.95)":a,s=e.overlayBgColorStart,c=void 0===s?"rgba(255, 255, 255, 0)":s,l=e.portalEl,f=e.openText,p=void 0===f?"Zoom image":f,d=e.scrollableEl,v=e.transitionDuration,m=void 0===v?300:v,g=e.wrapElement,_=void 0===g?"div":g,y=e.wrapStyle,b=e.zoomMargin,w=void 0===b?0:b,E=e.zoomZindex,x=void 0===E?2147483647:E,O=(0,r.useState)(!1),I=O[0],S=O[1],N=(0,r.useState)(!1),R=N[0],A=N[1],j=(0,r.useRef)(null),T=(0,r.useRef)(null),$=(0,r.useCallback)((function(e){I||(e.preventDefault(),S(!0))}),[I]),L=(0,r.useCallback)((function(){A(!0)}),[]),P=(0,r.useCallback)((function(){S(!1),A(!1),T.current&&T.current.focus({preventScroll:!0})}),[]),C=I&&R?"hidden":"visible";return o().createElement(r.StrictMode,null,o().createElement(_,{"data-rmiz-wrap":C,ref:j,style:y},t,o().createElement("button",{"aria-label":p,"data-rmiz-btn-open":!0,onClick:$,ref:T}),"undefined"!=typeof window&&I&&o().createElement(h,{closeText:i,onLoad:L,onUnload:P,overlayBgColorEnd:u,overlayBgColorStart:c,parentRef:j,portalEl:l,scrollableEl:d,transitionDuration:m,zoomMargin:w,zoomZindex:x},t)))}));var v=n(5559);const m=e=>{var{center:t=!0,width:n,alt:r,src:i,className:u}=e,s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["center","width","alt","src","className"]);return o().createElement("div",{style:{width:n||"100%"},className:a()(t&&"image_center__6-xCb",u)},o().createElement(d,null,o().createElement(v.BaseImage,Object.assign({fullWidth:!0,alt:r,src:i},s))))};m.__bit_component={id:"teambit.docs/ui/zoomable-image@1.95.0",homepage:"https://bit.dev/teambit/docs/ui/zoomable-image",exported:!0}},4377:(e,t,n)=>{"use strict";var r={id:"teambit.component/component@1.0.515",homepage:"https://bit.cloud/teambit/component/component",exported:!0};function o(){const e=i(n(1594));return o=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,o.__bit_component=r,i.__bit_component=r;const a=()=>o().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},o().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/bit-icons/components.svg"}));a.__bit_component=r,t.Logo=a},6006:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={fullWidth:"image_fullWidth__sELLz"}},1417:(e,t,n)=>{"use strict";var r=n(1970);function o(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function i(e,t){for(var n,r="",o=0,i=-1,a=0,u=0;u<=e.length;++u){if(u<e.length)n=e.charCodeAt(u);else{if(47===n)break;n=47}if(47===n){if(i===u-1||1===a);else if(i!==u-1&&2===a){if(r.length<2||2!==o||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var s=r.lastIndexOf("/");if(s!==r.length-1){-1===s?(r="",o=0):o=(r=r.slice(0,s)).length-1-r.lastIndexOf("/"),i=u,a=0;continue}}else if(2===r.length||1===r.length){r="",o=0,i=u,a=0;continue}t&&(r.length>0?r+="/..":r="..",o=2)}else r.length>0?r+="/"+e.slice(i+1,u):r=e.slice(i+1,u),o=u-i-1;i=u,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var a={resolve:function(){for(var e,t="",n=!1,a=arguments.length-1;a>=-1&&!n;a--){var u;a>=0?u=arguments[a]:(void 0===e&&(e=r.cwd()),u=e),o(u),0!==u.length&&(t=u+"/"+t,n=47===u.charCodeAt(0))}return t=i(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(o(e),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=i(e,!t)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return o(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var n=arguments[t];o(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":a.normalize(e)},relative:function(e,t){if(o(e),o(t),e===t)return"";if((e=a.resolve(e))===(t=a.resolve(t)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var r=e.length,i=r-n,u=1;u<t.length&&47===t.charCodeAt(u);++u);for(var s=t.length-u,c=i<s?i:s,l=-1,f=0;f<=c;++f){if(f===c){if(s>c){if(47===t.charCodeAt(u+f))return t.slice(u+f+1);if(0===f)return t.slice(u+f)}else i>c&&(47===e.charCodeAt(n+f)?l=f:0===f&&(l=0));break}var p=e.charCodeAt(n+f);if(p!==t.charCodeAt(u+f))break;47===p&&(l=f)}var h="";for(f=n+l+1;f<=r;++f)f!==r&&47!==e.charCodeAt(f)||(0===h.length?h+="..":h+="/..");return h.length>0?h+t.slice(u+l):(u+=l,47===t.charCodeAt(u)&&++u,t.slice(u))},_makeLong:function(e){return e},dirname:function(e){if(o(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,a=e.length-1;a>=1;--a)if(47===(t=e.charCodeAt(a))){if(!i){r=a;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"//":e.slice(0,r)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');o(e);var n,r=0,i=-1,a=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var u=t.length-1,s=-1;for(n=e.length-1;n>=0;--n){var c=e.charCodeAt(n);if(47===c){if(!a){r=n+1;break}}else-1===s&&(a=!1,s=n+1),u>=0&&(c===t.charCodeAt(u)?-1==--u&&(i=n):(u=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!a){r=n+1;break}}else-1===i&&(a=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname:function(e){o(e);for(var t=-1,n=0,r=-1,i=!0,a=0,u=e.length-1;u>=0;--u){var s=e.charCodeAt(u);if(47!==s)-1===r&&(i=!1,r=u+1),46===s?-1===t?t=u:1!==a&&(a=1):-1!==t&&(a=-1);else if(!i){n=u+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+"/"+r:r}(0,e)},parse:function(e){o(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,r=e.charCodeAt(0),i=47===r;i?(t.root="/",n=1):n=0;for(var a=-1,u=0,s=-1,c=!0,l=e.length-1,f=0;l>=n;--l)if(47!==(r=e.charCodeAt(l)))-1===s&&(c=!1,s=l+1),46===r?-1===a?a=l:1!==f&&(f=1):-1!==a&&(f=-1);else if(!c){u=l+1;break}return-1===a||-1===s||0===f||1===f&&a===s-1&&a===u+1?-1!==s&&(t.base=t.name=0===u&&i?e.slice(1,s):e.slice(u,s)):(0===u&&i?(t.name=e.slice(1,a),t.base=e.slice(1,s)):(t.name=e.slice(u,a),t.base=e.slice(u,s)),t.ext=e.slice(a,s)),u>0?t.dir=e.slice(0,u-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,e.exports=a},1970:e=>{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var u,s=[],c=!1,l=-1;function f(){c&&u&&(c=!1,u.length?s=u.concat(s):l=-1,s.length&&p())}function p(){if(!c){var e=a(f);c=!0;for(var t=s.length;t;){for(u=s,s=[];++l<t;)u&&u[l].run();l=-1,t=s.length}u=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function d(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||c||a(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=d,r.addListener=d,r.once=d,r.off=d,r.removeListener=d,r.removeAllListeners=d,r.emit=d,r.prependListener=d,r.prependOnceListener=d,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},742:(e,t,n)=>{"use strict";e.exports=n.p+"static/images/348e1dfebd0d5a35a5e6.png"},9263:(e,t,n)=>{"use strict";e.exports=n.p+"static/images/37978a86e2f81f41863e.png"},5016:e=>{"use strict";e.exports=MdxJsReact},1594:e=>{"use strict";e.exports=React},5682:e=>{"use strict";e.exports=TeambitMdxUiMdxScopeContext},7046:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>C,__assign:()=>i,__asyncDelegator:()=>I,__asyncGenerator:()=>O,__asyncValues:()=>S,__await:()=>x,__awaiter:()=>d,__classPrivateFieldGet:()=>$,__classPrivateFieldIn:()=>P,__classPrivateFieldSet:()=>L,__createBinding:()=>m,__decorate:()=>u,__disposeResources:()=>k,__esDecorate:()=>c,__exportStar:()=>g,__extends:()=>o,__generator:()=>v,__importDefault:()=>T,__importStar:()=>j,__makeTemplateObject:()=>N,__metadata:()=>h,__param:()=>s,__propKey:()=>f,__read:()=>y,__rest:()=>a,__rewriteRelativeImportExtension:()=>D,__runInitializers:()=>l,__setFunctionName:()=>p,__spread:()=>b,__spreadArray:()=>E,__spreadArrays:()=>w,__values:()=>_,default:()=>z});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function u(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function s(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var u,s=r.kind,c="getter"===s?"get":"setter"===s?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),p=!1,h=n.length-1;h>=0;h--){var d={};for(var v in r)d[v]="access"===v?{}:r[v];for(var v in r.access)d.access[v]=r.access[v];d.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var m=(0,n[h])("accessor"===s?{get:f.get,set:f.set}:f[c],d);if("accessor"===s){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw new TypeError("Object expected");(u=a(m.get))&&(f.get=u),(u=a(m.set))&&(f.set=u),(u=a(m.init))&&o.unshift(u)}else(u=a(m))&&("field"===s?o.unshift(u):f[c]=u)}l&&Object.defineProperty(l,r.name,f),p=!0}function l(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function v(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=u(0),a.throw=u(1),a.return=u(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}var m=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function g(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||m(t,e,n)}function _(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}function w(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,u=i.length;a<u;a++,o++)r[o]=i[a];return r}function E(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function O(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",(function(e){return function(t){return Promise.resolve(t).then(e,c)}})),r[Symbol.asyncIterator]=function(){return this},r;function a(e,t){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||u(e,t)}))},t&&(r[e]=t(r[e])))}function u(e,t){try{(n=o[e](t)).value instanceof x?Promise.resolve(n.value.v).then(s,c):l(i[0][2],n)}catch(e){l(i[0][3],e)}var n}function s(e){u("next",e)}function c(e){u("throw",e)}function l(e,t){e(t),i.shift(),i.length&&u(i[0][0],i[0][1])}}function I(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:o?o(t):t}:o}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=_(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}function N(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var R=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},A=function(e){return A=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},A(e)};function j(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=A(e),r=0;r<n.length;r++)"default"!==n[r]&&m(t,e,n[r]);return R(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function $(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function P(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function C(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var M="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function k(e){function t(t){e.error=e.hasError?new M(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function o(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(o);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(o,(function(e){return t(e),o()}))}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function D(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,n,r,o,i){return n?t?".jsx":".js":!r||o&&i?r+o+"."+i.toLowerCase()+"js":e})):e}const z={__extends:o,__assign:i,__rest:a,__decorate:u,__param:s,__esDecorate:c,__runInitializers:l,__propKey:f,__setFunctionName:p,__metadata:h,__awaiter:d,__generator:v,__createBinding:m,__exportStar:g,__values:_,__read:y,__spread:b,__spreadArrays:w,__spreadArray:E,__await:x,__asyncGenerator:O,__asyncDelegator:I,__asyncValues:S,__makeTemplateObject:N,__importStar:j,__importDefault:T,__classPrivateFieldGet:$,__classPrivateFieldSet:L,__classPrivateFieldIn:P,__addDisposableResource:C,__disposeResources:k,__rewriteRelativeImportExtension:D}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var r={};return(()=>{"use strict";n.r(r),n.d(r,{compositions:()=>p,compositions_metadata:()=>d,overview:()=>h});var e={};n.r(e),n.d(e,{default:()=>f});var t=n(4377),o=(n(1594),n(5016)),i=n(5682),a=n(8271),u=["components"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(null,arguments)}var c={},l="wrapper";function f(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,u);return(0,o.mdx)(l,s({},c,n,{components:t,mdxType:"MDXLayout"}),(0,o.mdx)(i.MDXScopeProvider,{components:{ComponentOverview:a.Ay},mdxType:"MDXScopeProvider"},(0,o.mdx)(a.Ay,{mdxType:"ComponentOverview"})))}f.isMDXComponent=!0;const p=[t],h=[e],d={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
@@ -2744,7 +2744,7 @@
2744
2744
  "_legacy": {
2745
2745
  "scope": "teambit.component",
2746
2746
  "name": "component",
2747
- "version": "1.0.514"
2747
+ "version": "1.0.515"
2748
2748
  },
2749
2749
  "_scope": "teambit.component"
2750
2750
  }
@@ -8974,7 +8974,7 @@
8974
8974
  "_legacy": {
8975
8975
  "scope": "teambit.component",
8976
8976
  "name": "component",
8977
- "version": "1.0.514"
8977
+ "version": "1.0.515"
8978
8978
  },
8979
8979
  "_scope": "teambit.component"
8980
8980
  }
@@ -20500,7 +20500,7 @@
20500
20500
  "_legacy": {
20501
20501
  "scope": "teambit.component",
20502
20502
  "name": "component",
20503
- "version": "1.0.514"
20503
+ "version": "1.0.515"
20504
20504
  },
20505
20505
  "_scope": "teambit.component"
20506
20506
  }
@@ -26110,7 +26110,7 @@
26110
26110
  "_legacy": {
26111
26111
  "scope": "teambit.component",
26112
26112
  "name": "component",
26113
- "version": "1.0.514"
26113
+ "version": "1.0.515"
26114
26114
  },
26115
26115
  "_scope": "teambit.component"
26116
26116
  }
@@ -32746,7 +32746,7 @@
32746
32746
  "_legacy": {
32747
32747
  "scope": "teambit.component",
32748
32748
  "name": "component",
32749
- "version": "1.0.514"
32749
+ "version": "1.0.515"
32750
32750
  },
32751
32751
  "_scope": "teambit.component"
32752
32752
  }
@@ -35248,7 +35248,7 @@
35248
35248
  "componentId": {
35249
35249
  "scope": "teambit.component",
35250
35250
  "name": "component",
35251
- "version": "1.0.514"
35251
+ "version": "1.0.515"
35252
35252
  },
35253
35253
  "taggedModuleExports": []
35254
35254
  }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.514/dist/component.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.514/dist/component.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.515/dist/component.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.515/dist/component.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/component",
3
- "version": "1.0.514",
3
+ "version": "1.0.515",
4
4
  "homepage": "https://bit.cloud/teambit/component/component",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "component",
9
- "version": "1.0.514"
9
+ "version": "1.0.515"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/any-fs": "0.0.5",
@@ -48,28 +48,28 @@
48
48
  "@teambit/lanes.ui.models.lanes-model": "0.0.222",
49
49
  "@teambit/ui-foundation.ui.use-box.dropdown": "0.0.143",
50
50
  "@teambit/legacy.extension-data": "0.0.22",
51
- "@teambit/aspect-loader": "1.0.514",
52
- "@teambit/dependency-resolver": "1.0.514",
53
- "@teambit/graph": "1.0.514",
51
+ "@teambit/aspect-loader": "1.0.515",
52
+ "@teambit/dependency-resolver": "1.0.515",
53
+ "@teambit/graph": "1.0.515",
54
54
  "@teambit/legacy.consumer-component": "0.0.21",
55
- "@teambit/objects": "0.0.21",
55
+ "@teambit/objects": "0.0.22",
56
56
  "@teambit/component.sources": "0.0.72",
57
57
  "@teambit/toolbox.path.match-patterns": "0.0.17",
58
58
  "@teambit/toolbox.string.eol": "0.0.3",
59
59
  "@teambit/toolbox.string.capitalize": "0.0.498",
60
- "@teambit/graphql": "1.0.514",
60
+ "@teambit/graphql": "1.0.515",
61
61
  "@teambit/toolbox.path.path": "0.0.6",
62
- "@teambit/cli": "0.0.1091",
63
- "@teambit/express": "0.0.1190",
64
- "@teambit/logger": "0.0.1184",
62
+ "@teambit/cli": "0.0.1092",
63
+ "@teambit/express": "0.0.1191",
64
+ "@teambit/logger": "0.0.1185",
65
65
  "@teambit/legacy.constants": "0.0.6",
66
- "@teambit/command-bar": "1.0.514",
66
+ "@teambit/command-bar": "1.0.515",
67
67
  "@teambit/component-package-version": "0.0.435",
68
- "@teambit/preview": "1.0.514",
69
- "@teambit/pubsub": "1.0.514",
70
- "@teambit/react-router": "1.0.514",
68
+ "@teambit/preview": "1.0.515",
69
+ "@teambit/pubsub": "1.0.515",
70
+ "@teambit/react-router": "1.0.515",
71
71
  "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.513",
72
- "@teambit/ui": "1.0.514",
72
+ "@teambit/ui": "1.0.515",
73
73
  "@teambit/legacy.utils": "0.0.14",
74
74
  "@teambit/component-issues": "0.0.153",
75
75
  "@teambit/pkg.modules.semver-helper": "0.0.4",
@@ -85,9 +85,9 @@
85
85
  "@teambit/scope.remotes": "0.0.20",
86
86
  "@teambit/legacy.component-diff": "0.0.73",
87
87
  "@teambit/harmony.ui.aspect-box": "0.0.508",
88
- "@teambit/compositions": "1.0.514",
89
- "@teambit/deprecation": "1.0.514",
90
- "@teambit/envs": "1.0.514",
88
+ "@teambit/compositions": "1.0.515",
89
+ "@teambit/deprecation": "1.0.515",
90
+ "@teambit/envs": "1.0.515",
91
91
  "@teambit/envs.ui.env-icon": "0.0.506",
92
92
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
93
93
  "@teambit/component.ui.version-dropdown": "0.0.877",