@jaimejesusserrano/react-roadmap-milestones
Version:
The React Roadmap Milestones component is a board with a lot of features, functionalities or whatever where a user can see all of them divided by categories and milestones
384 lines (365 loc) • 49.7 kB
JavaScript
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),_=require("react");function Bt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const R=Bt(_);function Ht(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Yt(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Gt=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Yt(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Ht(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var i;return(i=n.parentNode)==null?void 0:i.removeChild(n)}),this.tags=[],this.ctr=0},e}(),L="-ms-",se="-moz-",S="-webkit-",Qe="comm",Se="rule",Ee="decl",qt="@import",et="@keyframes",Ut="@layer",Vt=Math.abs,le=String.fromCharCode,Xt=Object.assign;function Kt(e,t){return O(e,0)^45?(((t<<2^O(e,0))<<2^O(e,1))<<2^O(e,2))<<2^O(e,3):0}function tt(e){return e.trim()}function Zt(e,t){return(e=t.exec(e))?e[0]:e}function E(e,t,r){return e.replace(t,r)}function ye(e,t){return e.indexOf(t)}function O(e,t){return e.charCodeAt(t)|0}function X(e,t,r){return e.slice(t,r)}function D(e){return e.length}function Ce(e){return e.length}function te(e,t){return t.push(e),e}function Jt(e,t){return e.map(t).join("")}var de=1,Y=1,rt=0,I=0,A=0,G="";function ue(e,t,r,n,i,o,s){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:de,column:Y,length:s,return:""}}function V(e,t){return Xt(ue("",null,null,"",null,null,0),e,{length:-e.length},t)}function Qt(){return A}function er(){return A=I>0?O(G,--I):0,Y--,A===10&&(Y=1,de--),A}function N(){return A=I<rt?O(G,I++):0,Y++,A===10&&(Y=1,de++),A}function z(){return O(G,I)}function ne(){return I}function Q(e,t){return X(G,e,t)}function K(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function nt(e){return de=Y=1,rt=D(G=e),I=0,[]}function it(e){return G="",e}function ie(e){return tt(Q(I-1,be(e===91?e+2:e===40?e+1:e)))}function tr(e){for(;(A=z())&&A<33;)N();return K(e)>2||K(A)>3?"":" "}function rr(e,t){for(;--t&&N()&&!(A<48||A>102||A>57&&A<65||A>70&&A<97););return Q(e,ne()+(t<6&&z()==32&&N()==32))}function be(e){for(;N();)switch(A){case e:return I;case 34:case 39:e!==34&&e!==39&&be(A);break;case 40:e===41&&be(e);break;case 92:N();break}return I}function nr(e,t){for(;N()&&e+A!==57;)if(e+A===84&&z()===47)break;return"/*"+Q(t,I-1)+"*"+le(e===47?e:N())}function ir(e){for(;!K(z());)N();return Q(e,I)}function or(e){return it(oe("",null,null,null,[""],e=nt(e),0,[0],e))}function oe(e,t,r,n,i,o,s,l,f){for(var h=0,m=0,x=s,M=0,j=0,v=0,p=1,g=1,y=1,C=0,b="",T=i,c=o,k=n,w=b;g;)switch(v=C,C=N()){case 40:if(v!=108&&O(w,x-1)==58){ye(w+=E(ie(C),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:w+=ie(C);break;case 9:case 10:case 13:case 32:w+=tr(v);break;case 92:w+=rr(ne()-1,7);continue;case 47:switch(z()){case 42:case 47:te(ar(nr(N(),ne()),t,r),f);break;default:w+="/"}break;case 123*p:l[h++]=D(w)*y;case 125*p:case 59:case 0:switch(C){case 0:case 125:g=0;case 59+m:y==-1&&(w=E(w,/\f/g,"")),j>0&&D(w)-x&&te(j>32?Ie(w+";",n,r,x-1):Ie(E(w," ","")+";",n,r,x-2),f);break;case 59:w+=";";default:if(te(k=Le(w,t,r,h,m,i,l,b,T=[],c=[],x),o),C===123)if(m===0)oe(w,t,k,k,T,o,x,l,c);else switch(M===99&&O(w,3)===110?100:M){case 100:case 108:case 109:case 115:oe(e,k,k,n&&te(Le(e,k,k,0,0,i,l,b,i,T=[],x),c),i,c,x,l,n?T:c);break;default:oe(w,k,k,k,[""],c,0,l,c)}}h=m=j=0,p=y=1,b=w="",x=s;break;case 58:x=1+D(w),j=v;default:if(p<1){if(C==123)--p;else if(C==125&&p++==0&&er()==125)continue}switch(w+=le(C),C*p){case 38:y=m>0?1:(w+="\f",-1);break;case 44:l[h++]=(D(w)-1)*y,y=1;break;case 64:z()===45&&(w+=ie(N())),M=z(),m=x=D(b=w+=ir(ne())),C++;break;case 45:v===45&&D(w)==2&&(p=0)}}return o}function Le(e,t,r,n,i,o,s,l,f,h,m){for(var x=i-1,M=i===0?o:[""],j=Ce(M),v=0,p=0,g=0;v<n;++v)for(var y=0,C=X(e,x+1,x=Vt(p=s[v])),b=e;y<j;++y)(b=tt(p>0?M[y]+" "+C:E(C,/&\f/g,M[y])))&&(f[g++]=b);return ue(e,t,r,i===0?Se:l,f,h,m)}function ar(e,t,r){return ue(e,t,r,Qe,le(Qt()),X(e,2,-2),0)}function Ie(e,t,r,n){return ue(e,t,r,Ee,X(e,0,n),X(e,n+1,-1),n)}function H(e,t){for(var r="",n=Ce(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function sr(e,t,r,n){switch(e.type){case Ut:if(e.children.length)break;case qt:case Ee:return e.return=e.return||e.value;case Qe:return"";case et:return e.return=e.value+"{"+H(e.children,n)+"}";case Se:e.value=e.props.join(",")}return D(r=H(e.children,n))?e.return=e.value+"{"+r+"}":""}function cr(e){var t=Ce(e);return function(r,n,i,o){for(var s="",l=0;l<t;l++)s+=e[l](r,n,i,o)||"";return s}}function lr(e){return function(t){t.root||(t=t.return)&&e(t)}}var Ne=function(t){var r=new WeakMap;return function(n){if(r.has(n))return r.get(n);var i=t(n);return r.set(n,i),i}};function ot(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var dr=function(t,r,n){for(var i=0,o=0;i=o,o=z(),i===38&&o===12&&(r[n]=1),!K(o);)N();return Q(t,I)},ur=function(t,r){var n=-1,i=44;do switch(K(i)){case 0:i===38&&z()===12&&(r[n]=1),t[n]+=dr(I-1,r,n);break;case 2:t[n]+=ie(i);break;case 4:if(i===44){t[++n]=z()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=le(i)}while(i=N());return t},fr=function(t,r){return it(ur(nt(t),r))},De=new WeakMap,pr=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!De.get(n))&&!i){De.set(t,!0);for(var o=[],s=fr(r,o),l=n.props,f=0,h=0;f<s.length;f++)for(var m=0;m<l.length;m++,h++)t.props[h]=o[f]?s[f].replace(/&\f/g,l[m]):l[m]+" "+s[f]}}},hr=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function at(e,t){switch(Kt(e,t)){case 5103:return S+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return S+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return S+e+se+e+L+e+e;case 6828:case 4268:return S+e+L+e+e;case 6165:return S+e+L+"flex-"+e+e;case 5187:return S+e+E(e,/(\w+).+(:[^]+)/,S+"box-$1$2"+L+"flex-$1$2")+e;case 5443:return S+e+L+"flex-item-"+E(e,/flex-|-self/,"")+e;case 4675:return S+e+L+"flex-line-pack"+E(e,/align-content|flex-|-self/,"")+e;case 5548:return S+e+L+E(e,"shrink","negative")+e;case 5292:return S+e+L+E(e,"basis","preferred-size")+e;case 6060:return S+"box-"+E(e,"-grow","")+S+e+L+E(e,"grow","positive")+e;case 4554:return S+E(e,/([^-])(transform)/g,"$1"+S+"$2")+e;case 6187:return E(E(E(e,/(zoom-|grab)/,S+"$1"),/(image-set)/,S+"$1"),e,"")+e;case 5495:case 3959:return E(e,/(image-set\([^]*)/,S+"$1$`$1");case 4968:return E(E(e,/(.+:)(flex-)?(.*)/,S+"box-pack:$3"+L+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+S+e+e;case 4095:case 3583:case 4068:case 2532:return E(e,/(.+)-inline(.+)/,S+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(D(e)-1-t>6)switch(O(e,t+1)){case 109:if(O(e,t+4)!==45)break;case 102:return E(e,/(.+:)(.+)-([^]+)/,"$1"+S+"$2-$3$1"+se+(O(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ye(e,"stretch")?at(E(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(O(e,t+1)!==115)break;case 6444:switch(O(e,D(e)-3-(~ye(e,"!important")&&10))){case 107:return E(e,":",":"+S)+e;case 101:return E(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+S+(O(e,14)===45?"inline-":"")+"box$3$1"+S+"$2$3$1"+L+"$2box$3")+e}break;case 5936:switch(O(e,t+11)){case 114:return S+e+L+E(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return S+e+L+E(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return S+e+L+E(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return S+e+L+e+e}return e}var mr=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Ee:t.return=at(t.value,t.length);break;case et:return H([V(t,{value:E(t.value,"@","@"+S)})],i);case Se:if(t.length)return Jt(t.props,function(o){switch(Zt(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return H([V(t,{props:[E(o,/:(read-\w+)/,":"+se+"$1")]})],i);case"::placeholder":return H([V(t,{props:[E(o,/:(plac\w+)/,":"+S+"input-$1")]}),V(t,{props:[E(o,/:(plac\w+)/,":"+se+"$1")]}),V(t,{props:[E(o,/:(plac\w+)/,L+"input-$1")]})],i)}return""})}},xr=[mr],gr=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(p){var g=p.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var i=t.stylisPlugins||xr,o={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var g=p.getAttribute("data-emotion").split(" "),y=1;y<g.length;y++)o[g[y]]=!0;l.push(p)});var f,h=[pr,hr];{var m,x=[sr,lr(function(p){m.insert(p)})],M=cr(h.concat(i,x)),j=function(g){return H(or(g),M)};f=function(g,y,C,b){m=C,j(g?g+"{"+y.styles+"}":y.styles),b&&(v.inserted[y.name]=!0)}}var v={key:r,sheet:new Gt({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:f};return v.sheet.hydrate(l),v};function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ce.apply(null,arguments)}var re={exports:{}},$={};var Fe;function vr(){if(Fe)return $;Fe=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,h=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,x=e?Symbol.for("react.suspense"):60113,M=e?Symbol.for("react.suspense_list"):60120,j=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function b(c){if(typeof c=="object"&&c!==null){var k=c.$$typeof;switch(k){case t:switch(c=c.type,c){case f:case h:case n:case o:case i:case x:return c;default:switch(c=c&&c.$$typeof,c){case l:case m:case v:case j:case s:return c;default:return k}}case r:return k}}}function T(c){return b(c)===h}return $.AsyncMode=f,$.ConcurrentMode=h,$.ContextConsumer=l,$.ContextProvider=s,$.Element=t,$.ForwardRef=m,$.Fragment=n,$.Lazy=v,$.Memo=j,$.Portal=r,$.Profiler=o,$.StrictMode=i,$.Suspense=x,$.isAsyncMode=function(c){return T(c)||b(c)===f},$.isConcurrentMode=T,$.isContextConsumer=function(c){return b(c)===l},$.isContextProvider=function(c){return b(c)===s},$.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},$.isForwardRef=function(c){return b(c)===m},$.isFragment=function(c){return b(c)===n},$.isLazy=function(c){return b(c)===v},$.isMemo=function(c){return b(c)===j},$.isPortal=function(c){return b(c)===r},$.isProfiler=function(c){return b(c)===o},$.isStrictMode=function(c){return b(c)===i},$.isSuspense=function(c){return b(c)===x},$.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===h||c===o||c===i||c===x||c===M||typeof c=="object"&&c!==null&&(c.$$typeof===v||c.$$typeof===j||c.$$typeof===s||c.$$typeof===l||c.$$typeof===m||c.$$typeof===g||c.$$typeof===y||c.$$typeof===C||c.$$typeof===p)},$.typeOf=b,$}var P={};var ze;function yr(){return ze||(ze=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,h=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,x=e?Symbol.for("react.suspense"):60113,M=e?Symbol.for("react.suspense_list"):60120,j=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function b(d){return typeof d=="string"||typeof d=="function"||d===n||d===h||d===o||d===i||d===x||d===M||typeof d=="object"&&d!==null&&(d.$$typeof===v||d.$$typeof===j||d.$$typeof===s||d.$$typeof===l||d.$$typeof===m||d.$$typeof===g||d.$$typeof===y||d.$$typeof===C||d.$$typeof===p)}function T(d){if(typeof d=="object"&&d!==null){var me=d.$$typeof;switch(me){case t:var ee=d.type;switch(ee){case f:case h:case n:case o:case i:case x:return ee;default:var Oe=ee&&ee.$$typeof;switch(Oe){case l:case m:case v:case j:case s:return Oe;default:return me}}case r:return me}}}var c=f,k=h,w=l,U=s,he=t,W=m,B=n,Ct=v,Tt=j,$t=r,Pt=o,kt=i,jt=x,Ae=!1;function _t(d){return Ae||(Ae=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Me(d)||T(d)===f}function Me(d){return T(d)===h}function Rt(d){return T(d)===l}function At(d){return T(d)===s}function Mt(d){return typeof d=="object"&&d!==null&&d.$$typeof===t}function Ot(d){return T(d)===m}function Lt(d){return T(d)===n}function It(d){return T(d)===v}function Nt(d){return T(d)===j}function Dt(d){return T(d)===r}function Ft(d){return T(d)===o}function zt(d){return T(d)===i}function Wt(d){return T(d)===x}P.AsyncMode=c,P.ConcurrentMode=k,P.ContextConsumer=w,P.ContextProvider=U,P.Element=he,P.ForwardRef=W,P.Fragment=B,P.Lazy=Ct,P.Memo=Tt,P.Portal=$t,P.Profiler=Pt,P.StrictMode=kt,P.Suspense=jt,P.isAsyncMode=_t,P.isConcurrentMode=Me,P.isContextConsumer=Rt,P.isContextProvider=At,P.isElement=Mt,P.isForwardRef=Ot,P.isFragment=Lt,P.isLazy=It,P.isMemo=Nt,P.isPortal=Dt,P.isProfiler=Ft,P.isStrictMode=zt,P.isSuspense=Wt,P.isValidElementType=b,P.typeOf=T}()),P}var We;function br(){return We||(We=1,process.env.NODE_ENV==="production"?re.exports=vr():re.exports=yr()),re.exports}var xe,Be;function wr(){if(Be)return xe;Be=1;var e=br(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[e.ForwardRef]=n,o[e.Memo]=i;function s(v){return e.isMemo(v)?i:o[v.$$typeof]||t}var l=Object.defineProperty,f=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,x=Object.getPrototypeOf,M=Object.prototype;function j(v,p,g){if(typeof p!="string"){if(M){var y=x(p);y&&y!==M&&j(v,y,g)}var C=f(p);h&&(C=C.concat(h(p)));for(var b=s(v),T=s(p),c=0;c<C.length;++c){var k=C[c];if(!r[k]&&!(g&&g[k])&&!(T&&T[k])&&!(b&&b[k])){var w=m(p,k);try{l(v,k,w)}catch{}}}}return v}return xe=j,xe}wr();var Sr=!0;function st(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(n+=i+" ")}),n}var Te=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||Sr===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},$e=function(t,r,n){Te(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var o=r;do t.insert(r===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function Er(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Cr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Tr=/[A-Z]|^ms/g,$r=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ct=function(t){return t.charCodeAt(1)===45},He=function(t){return t!=null&&typeof t!="boolean"},ge=ot(function(e){return ct(e)?e:e.replace(Tr,"-$&").toLowerCase()}),Ye=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace($r,function(n,i,o){return F={name:i,styles:o,next:F},i})}return Cr[t]!==1&&!ct(t)&&typeof r=="number"&&r!==0?r+"px":r};function Z(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return F={name:i.name,styles:i.styles,next:F},i.name;var o=r;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)F={name:s.name,styles:s.styles,next:F},s=s.next;var l=o.styles+";";return l}return Pr(e,t,r)}case"function":{if(e!==void 0){var f=F,h=r(e);return F=f,Z(e,t,h)}break}}var m=r;if(t==null)return m;var x=t[m];return x!==void 0?x:m}function Pr(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Z(e,t,r[i])+";";else for(var o in r){var s=r[o];if(typeof s!="object"){var l=s;t!=null&&t[l]!==void 0?n+=o+"{"+t[l]+"}":He(l)&&(n+=ge(o)+":"+Ye(o,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var f=0;f<s.length;f++)He(s[f])&&(n+=ge(o)+":"+Ye(o,s[f])+";");else{var h=Z(e,t,s);switch(o){case"animation":case"animationName":{n+=ge(o)+":"+h+";";break}default:n+=o+"{"+h+"}"}}}return n}var Ge=/label:\s*([^\s;{]+)\s*(;|$)/g,F;function fe(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";F=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=Z(r,t,o);else{var s=o;i+=s[0]}for(var l=1;l<e.length;l++)if(i+=Z(r,t,e[l]),n){var f=o;i+=f[l]}Ge.lastIndex=0;for(var h="",m;(m=Ge.exec(i))!==null;)h+="-"+m[1];var x=Er(i)+h;return{name:x,styles:i,next:F}}var kr=function(t){return t()},lt=R.useInsertionEffect?R.useInsertionEffect:!1,dt=lt||kr,qe=lt||R.useLayoutEffect,ut=R.createContext(typeof HTMLElement<"u"?gr({key:"css"}):null);ut.Provider;var Pe=function(t){return _.forwardRef(function(r,n){var i=_.useContext(ut);return t(r,i,n)})},J=R.createContext({}),jr=function(t,r){if(typeof r=="function"){var n=r(t);return n}return ce({},t,r)},_r=Ne(function(e){return Ne(function(t){return jr(e,t)})}),Rr=function(t){var r=R.useContext(J);return t.theme!==r&&(r=_r(r)(t.theme)),R.createElement(J.Provider,{value:r},t.children)},ke={}.hasOwnProperty,we="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ar=function(t,r){var n={};for(var i in r)ke.call(r,i)&&(n[i]=r[i]);return n[we]=t,n},Mr=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Te(r,n,i),dt(function(){return $e(r,n,i)}),null},Or=Pe(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[we],o=[n],s="";typeof e.className=="string"?s=st(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var l=fe(o,void 0,R.useContext(J));s+=t.key+"-"+l.name;var f={};for(var h in e)ke.call(e,h)&&h!=="css"&&h!==we&&(f[h]=e[h]);return f.className=s,r&&(f.ref=r),R.createElement(R.Fragment,null,R.createElement(Mr,{cache:t,serialized:l,isStringTag:typeof i=="string"}),R.createElement(i,f))}),Lr=Or,Ue=function(t,r){var n=arguments;if(r==null||!ke.call(r,"css"))return R.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=Lr,o[1]=Ar(t,r);for(var s=2;s<i;s++)o[s]=n[s];return R.createElement.apply(null,o)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Ue||(Ue={}));var Ir=Pe(function(e,t){var r=e.styles,n=fe([r],void 0,R.useContext(J)),i=R.useRef();return qe(function(){var o=t.key+"-global",s=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,f=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),f!==null&&(l=!0,f.setAttribute("data-emotion",o),s.hydrate([f])),i.current=[s,l],function(){s.flush()}},[t]),qe(function(){var o=i.current,s=o[0],l=o[1];if(l){o[1]=!1;return}if(n.next!==void 0&&$e(t,n.next,!0),s.tags.length){var f=s.tags[s.tags.length-1].nextElementSibling;s.before=f,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});function Nr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return fe(t)}const ft={Component:a.jsx(a.Fragment,{}),isOpen:!1},pe=_.createContext({dispatch:()=>{},state:ft}),pt="GLOBAL_DIALOG",ht=`${pt}_SET_OPEN`,Dr=`${pt}_SET_STATE`,je=(e,t)=>({type:ht,value:{isOpen:e,Component:t}});var Fr=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,zr=ot(function(e){return Fr.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Wr=zr,Br=function(t){return t!=="theme"},Ve=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Wr:Br},Xe=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},Hr=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Te(r,n,i),dt(function(){return $e(r,n,i)}),null},Yr=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,s;r!==void 0&&(o=r.label,s=r.target);var l=Xe(t,r,n),f=l||Ve(i),h=!f("as");return function(){var m=arguments,x=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&x.push("label:"+o+";"),m[0]==null||m[0].raw===void 0)x.push.apply(x,m);else{var M=m[0];x.push(M[0]);for(var j=m.length,v=1;v<j;v++)x.push(m[v],M[v])}var p=Pe(function(g,y,C){var b=h&&g.as||i,T="",c=[],k=g;if(g.theme==null){k={};for(var w in g)k[w]=g[w];k.theme=R.useContext(J)}typeof g.className=="string"?T=st(y.registered,c,g.className):g.className!=null&&(T=g.className+" ");var U=fe(x.concat(c),y.registered,k);T+=y.key+"-"+U.name,s!==void 0&&(T+=" "+s);var he=h&&l===void 0?Ve(b):f,W={};for(var B in g)h&&B==="as"||he(B)&&(W[B]=g[B]);return W.className=T,C&&(W.ref=C),R.createElement(R.Fragment,null,R.createElement(Hr,{cache:y,serialized:U,isStringTag:typeof b=="string"}),R.createElement(b,W))});return p.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",p.defaultProps=t.defaultProps,p.__emotion_real=p,p.__emotion_base=i,p.__emotion_styles=x,p.__emotion_forwardProp=l,Object.defineProperty(p,"toString",{value:function(){return"."+s}}),p.withComponent=function(g,y){var C=e(g,ce({},r,y,{shouldForwardProp:Xe(p,y,!0)}));return C.apply(void 0,x)},p}},Gr=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],u=Yr.bind(null);Gr.forEach(function(e){u[e]=u(e)});const qr=u.div`
position: fixed;
z-index: 1300;
inset: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
transition: background 0.3s;
`,Ur=u.div`
border-radius: 8px;
box-shadow: 0 3px 16px rgba(0, 0, 0, 0.2);
padding: 24px;
min-width: 320px;
max-width: ${({maxWidth:e,fullWidth:t})=>t===!0?"calc(100vw - 32px)":e==="sm"?"600px":e==="md"?"960px":typeof e=="string"&&e.trim()!==""?e:"600px"};
width: ${({fullWidth:e})=>e===!0?"100%":"auto"};
margin: 16px;
animation: dialog-fade-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
@keyframes dialog-fade-in {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
`,Vr=({open:e,onClose:t,children:r,maxWidth:n="sm",fullWidth:i=!1})=>{if(_.useEffect(()=>{if(e){document.body.style.overflow="hidden";const s=l=>{l.key==="Escape"&&t!==void 0&&t()};return window.addEventListener("keydown",s),()=>{document.body.style.overflow="",window.removeEventListener("keydown",s)}}else document.body.style.overflow="";return()=>{document.body.style.overflow=""}},[e,t]),!e)return null;const o=s=>{s.target===s.currentTarget&&t!==void 0&&t()};return a.jsx(qr,{onClick:o,children:a.jsx(Ur,{maxWidth:n,fullWidth:i,children:r})})};function Xr({className:e}){const{dispatch:t,state:r}=_.useContext(pe);return a.jsx(Vr,{maxWidth:"lg",onClose:()=>{t(je(!1))},open:r.isOpen,children:r.Component===void 0?null:a.jsx("div",{className:e??"",children:r.Component})})}const mt={previousButton:{hidePrevious:"Hide previous",showPrevious:"Show previous"}},Kr=({theme:e})=>a.jsx(Ir,{styles:Nr`
/* width */
::-webkit-scrollbar {
height: 8px;
width: 8px;
}
/* Track */
::-webkit-scrollbar-track {
border-radius: 10px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: ${e.palette.scrollBar.default};
border-radius: 10px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: ${e.palette.scrollBar.hover};
}
`});function Zr({children:e}){const[t,r]=_.useReducer((i,o)=>{switch(o.type){case ht:return{...i,Component:o.value.Component,isOpen:o.value.isOpen};case Dr:return o.value}},ft),n=_.useMemo(()=>({dispatch:r,state:t}),[r,t]);return a.jsx(pe.Provider,{value:n,children:e})}const xt={showMilestonesFinished:!1,translation:mt},_e=_.createContext({dispatch:()=>{},state:xt}),Re="GLOBAL_SETTINGS",gt=`${Re}_ARE_SHOWING_PREVIOUS_MILESTONES`,Jr=`${Re}_SET_STATE`,vt=`${Re}_SET_TRANSLATION`;function Qr({children:e}){const[t,r]=_.useReducer((i,o)=>{switch(o.type){case gt:return{...i,showMilestonesFinished:o.value.showMilestonesFinished};case Jr:return o.value;case vt:return{...i,translation:o.value.translation}}},xt),n=_.useMemo(()=>({dispatch:r,state:t}),[r,t]);return a.jsx(_e.Provider,{value:n,children:e})}const Ke=e=>({type:gt,value:{showMilestonesFinished:e}}),en=e=>({type:vt,value:{translation:e}});function tn({title:e}){return e===""?null:a.jsx("title",{children:e})}function q({children:e,title:t="",...r}){return a.jsxs("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...r,children:[a.jsx(tn,{title:t}),e]})}function yt(e){return a.jsx(q,{height:"2",viewBox:"0 0 16 2",width:"16",...e,children:a.jsx("path",{d:"M16 0.999973C16 0.508938 15.6291 0.111084 15.1714 0.111084H0.82857C0.371428 0.111084 0 0.508938 0 0.999973C0 1.49101 0.371428 1.88886 0.82857 1.88886H15.1714C15.6291 1.88886 16 1.49101 16 0.999973Z",fill:"currentColor"})})}function bt(e){return a.jsx(q,{height:"16",viewBox:"0 0 16 16",width:"16",...e,children:a.jsx("path",{d:"M8 0C8.49103 0 8.8889 0.370858 8.8889 0.828572L8.88847 7.11059L15.1714 7.11111C15.6291 7.11111 16 7.50897 16 8C16 8.49103 15.6291 8.88889 15.1714 8.88889L8.88847 8.88847L8.8889 15.1714C8.8889 15.6291 8.49103 16 8 16C7.50897 16 7.1111 15.6291 7.1111 15.1714L7.11058 8.88847L0.82857 8.88889C0.371428 8.88889 0 8.49103 0 8C0 7.50897 0.371428 7.11111 0.82857 7.11111L7.11058 7.11059L7.1111 0.828572C7.1111 0.370858 7.50897 0 8 0Z",fill:"currentColor"})})}function rn({isExpanded:e}){return e?a.jsx(yt,{title:"Collapse milestone"}):a.jsx(bt,{title:"Expand milestone"})}const nn=u.div`
color: #e8ebed;
`,on=u.div`
border: 2px solid #164664;
border-radius: 4px;
padding: 4px 8px;
`;function an({children:e,...t}){return a.jsx(on,{...t,children:a.jsx(nn,{children:e})})}const sn=u.div`
display: flex;
flex-wrap: wrap;
gap: 8px;
`;function wt({tags:e,...t}){return a.jsx(sn,{...t,children:e.map(r=>a.jsx(an,{children:r.name},r.name))})}function cn(e){return a.jsx(q,{height:"12",viewBox:"0 0 12 12",width:"12",...e,children:a.jsx("path",{d:"M7.42508 6L11.7003 10.2752C12.0999 10.6748 12.0999 11.3008 11.7003 11.7003C11.3008 12.0999 10.6748 12.0999 10.2752 11.7003L6 7.42508L1.72475 11.7003C1.32519 12.0999 0.699223 12.0999 0.299667 11.7003C-0.099889 11.3008 -0.099889 10.6748 0.299667 10.2752L4.57492 6L0.299667 1.72475C-0.099889 1.32519 -0.099889 0.699223 0.299667 0.299667C0.699223 -0.099889 1.32519 -0.099889 1.72475 0.299667L6 4.57492L10.2752 0.299667C10.6748 -0.099889 11.3008 -0.099889 11.7003 0.299667C12.0999 0.699223 12.0999 1.32519 11.7003 1.72475L7.42508 6Z",fill:"currentColor"})})}function St(e){return a.jsx(q,{fill:"none",height:"20px",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 115.19 123.38",width:"20px",...e,children:a.jsx("g",{children:a.jsx("path",{d:"M93.13,79.5c12.05,0,21.82,9.77,21.82,21.82c0,12.05-9.77,21.82-21.82,21.82c-12.05,0-21.82-9.77-21.82-21.82 C71.31,89.27,81.08,79.5,93.13,79.5L93.13,79.5z M8.08,0.25h95.28c2.17,0,4.11,0.89,5.53,2.3c1.42,1.42,2.3,3.39,2.3,5.53v70.01 c-2.46-1.91-5.24-3.44-8.25-4.48V9.98c0-0.43-0.16-0.79-0.46-1.05c-0.26-0.26-0.66-0.46-1.05-0.46H9.94 c-0.43,0-0.79,0.16-1.05,0.46C8.63,9.19,8.43,9.58,8.43,9.98v70.02h0.03l31.97-30.61c1.28-1.18,3.29-1.05,4.44,0.23 c0.03,0.03,0.03,0.07,0.07,0.07l26.88,31.8c-4.73,5.18-7.62,12.08-7.62,19.65c0,3.29,0.55,6.45,1.55,9.4H8.08 c-2.17,0-4.11-0.89-5.53-2.3s-2.3-3.39-2.3-5.53V8.08c0-2.17,0.89-4.11,2.3-5.53S5.94,0.25,8.08,0.25L8.08,0.25z M73.98,79.35 l3.71-22.79c0.3-1.71,1.91-2.9,3.62-2.6c0.66,0.1,1.25,0.43,1.71,0.86l17.1,17.97c-2.18-0.52-4.44-0.79-6.78-0.79 C85.91,71.99,79.13,74.77,73.98,79.35L73.98,79.35z M81.98,18.19c3.13,0,5.99,1.28,8.03,3.32c2.07,2.07,3.32,4.9,3.32,8.03 c0,3.13-1.28,5.99-3.32,8.03c-2.07,2.07-4.9,3.32-8.03,3.32c-3.13,0-5.99-1.28-8.03-3.32c-2.07-2.07-3.32-4.9-3.32-8.03 c0-3.13,1.28-5.99,3.32-8.03C76.02,19.44,78.86,18.19,81.98,18.19L81.98,18.19z M85.82,88.05l19.96,21.6 c1.58-2.39,2.5-5.25,2.5-8.33c0-8.36-6.78-15.14-15.14-15.14C90.48,86.17,87.99,86.85,85.82,88.05L85.82,88.05z M100.44,114.58 l-19.96-21.6c-1.58,2.39-2.5,5.25-2.5,8.33c0,8.36,6.78,15.14,15.14,15.14C95.78,116.46,98.27,115.78,100.44,114.58L100.44,114.58z"})})})}const ln=u.div`
background-color: #78848c;
box-sizing: border-box;
height: 100%;
padding: 8px;
width: 100%;
svg {
max-height: 294px;
}
`;function dn(){return a.jsx(ln,{children:a.jsx(St,{height:"100%",title:"Image not found",width:"100%"})})}const un=u.div`
border-top: 2px solid #164664;
display: flex;
@media ${e=>e.theme.devices.laptopMax} {
flex-direction: column;
}
`,fn=u.div`
color: white;
font-size: 0.9rem;
font-weight: 400;
letter-spacing: 0.04em;
line-height: 1.5rem;
margin-top: 8px;
`,pn=u.div`
color: #bac1c5;
font-size: 0.8rem;
font-weight: 400;
letter-spacing: 0.04em;
line-height: 1rem;
`,hn=u.div`
padding: 24px;
`,mn=u.span`
color: #ffffff;
`,xn=u.span`
color: #bac1c5;
`,gn=u.div`
padding: 12px 24px;
@media ${e=>e.theme.devices.laptopMax} {
border-top: 2px solid #164664;
}
`,vn=u.div`
align-items: center;
border-radius: 50%;
color: #000000;
cursor: pointer;
display: flex;
height: 22px;
justify-content: center;
width: 22px;
&:hover {
background-color: #3785ae;
}
`,yn=u.div`
align-items: center;
background-color: #6fbeec;
color: #e8ebed;
display: flex;
flex-direction: row;
height: 34px;
justify-content: space-between;
padding: 0 16px;
`,bn=u.div`
align-items: center;
border-bottom: 2px solid #164664;
display: flex;
justify-content: center;
width: 500px;
@media ${e=>e.theme.devices.laptopMax} {
min-height: 0;
width: 100%;
}
img {
max-height: 294px;
}
`,wn=u.div`
display: flex;
flex-direction: column;
max-width: 500px;
width: 500px;
@media ${e=>e.theme.devices.laptopMax} {
width: 100%;
}
`,Sn=u.div`
border-left: 2px solid #164664;
box-sizing: border-box;
display: flex;
flex-direction: column;
padding-bottom: 8px;
max-width: 300px;
width: 300px;
@media ${e=>e.theme.devices.laptopMax} {
border-left: unset;
max-width: 100%;
width: 100%;
}
`,En=u.div`
color: #000000;
font-weight: 600;
text-transform: uppercase;
`,Cn=u.div`
color: #bac1c5;
margin-bottom: 8px;
`,Tn=u.div`
border-top: 2px solid #164664;
padding: 12px 24px;
`,$n=u.div`
color: #ffffff;
font-size: 1.4rem;
font-weight: 400;
line-height: 2rem;
padding: 16px 24px;
`,Pn=u.div`
background-color: #103246;
display: flex;
flex-direction: column;
max-width: 800px;
width: 800px;
@media ${e=>e.theme.devices.laptopMax} {
width: 100%;
}
`;function kn({goal:e}){const{dispatch:t}=_.useContext(pe);return a.jsxs(Pn,{children:[a.jsxs(yn,{children:[a.jsx(En,{children:e.status}),a.jsx(vn,{onClick:()=>{t(je(!1))},children:a.jsx(cn,{title:"Close"})})]}),a.jsx($n,{children:e.name}),a.jsxs(un,{children:[a.jsxs(wn,{children:[a.jsx(bn,{children:e.images.length===0?a.jsx(dn,{}):a.jsx("img",{alt:"Goal",loading:"lazy",src:e.images[0]})}),a.jsxs(hn,{children:[a.jsxs(pn,{children:["Updated ",e.updateDate.toLocaleDateString()]}),a.jsx(fn,{children:e.description})]})]}),a.jsxs(Sn,{children:[a.jsxs(gn,{children:[a.jsx(xn,{children:"Category: "}),a.jsx(mn,{children:e.category?.name??""})]}),e.tags.length>0?a.jsx(jn,{tags:e.tags}):null]})]})]})}function jn({tags:e}){return a.jsxs(Tn,{children:[a.jsx(Cn,{children:"Tags:"}),a.jsx(wt,{tags:e})]})}const _n=u.div`
background-color: #78848c;
box-sizing: border-box;
height: 100%;
padding: 8px;
width: 100%;
svg {
max-height: 130px;
}
`;function Rn(){return a.jsx(_n,{children:a.jsx(St,{height:"100%",title:"Image not found",width:"100%"})})}const An=u.div`
color: #e8ebed;
font-size: 0.9rem;
font-weight: 400;
padding: 16px;
`,Mn=u.div`
display: flex;
height: 100%;
justify-content: center;
img {
max-height: 130px;
}
`,On=u.div`
align-items: center;
background-color: #6fbeec;
border-radius: 8px 8px 0 0;
color: #000000;
display: flex;
font-size: 0.8rem;
font-weight: 600;
height: 24px;
padding-left: 32px;
text-transform: uppercase;
`,Ln=u.div`
border-top: 2px solid #164664;
padding: 8px 16px 16px 16px;
`,In=u.div`
align-items: center;
color: #e8ebed;
display: flex;
font-weight: 400;
min-height: 40px;
padding: 8px 16px 8px 16px;
`,Nn=u.div`
background: #103246;
border-radius: 8px;
cursor: pointer;
margin-bottom: 8px;
margin-top: 8px;
:first-of-type {
margin-top: 0;
}
:last-child {
margin-bottom: 0;
}
`;function Et({goal:e}){const{dispatch:t}=_.useContext(pe);return a.jsxs(Nn,{onClick:()=>{t(je(!0,a.jsx(kn,{goal:e})))},children:[a.jsx(On,{children:e.status}),a.jsx(In,{children:e.name}),a.jsx(Mn,{children:e.images.length===0?a.jsx(Rn,{}):a.jsx("img",{alt:"Goal",loading:"lazy",src:e.images[0]})}),a.jsx(An,{children:e.shortDescription??e.description}),e.tags.length>0?a.jsx(Dn,{tags:e.tags}):null]})}function Dn({tags:e}){return a.jsx(Ln,{children:a.jsx(wt,{tags:e})})}const Fn=u.div`
padding: 10px;
`;function zn({goals:e}){return a.jsx(Fn,{children:e.map(t=>a.jsx(Et,{goal:t},t.name))})}function Wn(e){return a.jsx(q,{fill:"none",height:"20px",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"20px",...e,children:a.jsx("polyline",{points:"6 9 12 15 18 9"})})}function Bn(e){return a.jsx(q,{fill:"none",height:"20px",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"20px",...e,children:a.jsx("polyline",{points:"18 15 12 9 6 15"})})}function Hn({isExpanded:e}){return e?a.jsx(Bn,{title:"Collapse category"}):a.jsx(Wn,{title:"Expand category"})}const Yn=u.div`
display: flex;
cursor: pointer;
flex-direction: row;
padding: 16px;
justify-content: space-between;
user-select: none;
`,Gn=u.div`
display: flex;
flex-direction: column;
`,qn=u.div`
color: #bac1c5;
font-size: 0.7rem;
font-weight: 600;
line-height: 20px;
letter-spacing: 1px;
margin-top: 4px;
`,Un=u.div`
color: white;
font-weight: 700;
font-size: 0.9rem;
line-height: 20px;
letter-spacing: 1px;
`,Vn=u.div`
color: ${e=>e.theme.palette.category.expandIcon.default};
display: flex;
flex-direction: row;
`,Xn=u.div`
background-color: ${e=>e.theme.palette.category.background.default};
border: 1px solid ${e=>e.theme.palette.category.border.default};
border-radius: 8px;
display: flex;
flex-direction: column;
margin-bottom: 8px;
position: relative;
transition:
box-shadow 350ms ease-in-out 0s,
background-color 350ms ease-in-out 0s;
width: 100%;
`;function Kn({goals:e,name:t=""}){const[r,n]=_.useState(!1);return a.jsxs(Xn,{children:[a.jsxs(Yn,{onClick:()=>{n(!r)},children:[a.jsxs(Gn,{children:[a.jsx(Un,{children:t}),a.jsx(qn,{children:e.length===1?"1 Entry":`${e.length} Entries`})]}),a.jsx(Vn,{children:a.jsx(Hn,{isExpanded:r})})]}),r?a.jsx(zn,{goals:e}):null]})}const Zn=u.div`
padding: 0 8px 8px 8px;
`;function Jn({goalsByCategories:e,goalsWithoutCategory:t}){return a.jsxs(Zn,{children:[Object.values(e).map(r=>a.jsx(Kn,{goals:r,name:r[0].category?.name??""},r[0].category?.name??"")),t.map(r=>a.jsx(Et,{goal:r},r.name))]})}const Qn=u.div`
align-items: center;
display: flex;
justify-content: flex-end;
height: 100%;
svg {
color: ${e=>e.theme.palette.milestone.expandIcon.default};
}
`,ei=u.div`
cursor: pointer;
display: flex;
flex-direction: column;
min-height: 96px;
`,ti=u.div`
color: white;
font-size: ${e=>e.$isExpanded===!0?"1.5rem":"1.25rem"};
font-weight: 600;
overflow: ${e=>e.$isExpanded===!0?"":"hidden"};
text-align: center;
text-overflow: ${e=>e.$isExpanded===!0?"":"ellipsis"};
white-space: ${e=>e.$isExpanded===!0?"":"nowrap"};
`,ri=u.div`
display: flex;
flex-direction: column;
justify-content: center;
margin: ${e=>e.$isExpanded===!0?"16px":"16px 8px 16px 8px"};
position: relative;
user-select: none;
`,ni=u.div`
border: 1px solid
${e=>e.theme.palette.milestone.status.border.default};
border-radius: 8px;
color: ${e=>e.theme.palette.milestone.status.font.default};
font-size: 0.8rem;
font-weight: 600;
line-height: 20px;
letter-spacing: 1px;
padding: 4px 8px 4px 8px;
text-transform: uppercase;
user-select: none;
width: fit-content;
`,ii=u.div`
color: ${e=>e.theme.palette.milestone.finishDate.font.default};
font-size: 0.7rem;
margin-top: 8px;
`,oi=u.div`
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
margin: 0 16px 24px 16px;
`,ai=u.div`
background-color: ${e=>e.theme.palette.milestone.background.default};
border-radius: 0px 0px 8px 8px;
border-top: 3px solid #ade1ff;
height: min-content;
overflow: auto;
width: ${e=>e.$isExpanded===!0?"320px":"120px"};
`;function si({isExpanded:e,goalsByCategories:t,goalsWithoutCategory:r,milestone:n}){const[i,o]=_.useState(e);return a.jsxs(ai,{$isExpanded:i,children:[a.jsxs(ei,{onClick:()=>{o(!i)},children:[a.jsxs(ri,{$isExpanded:i,children:[a.jsx(Qn,{children:a.jsx(rn,{isExpanded:i})}),a.jsx(ti,{$isExpanded:i,title:n.name,children:n.name})]}),a.jsxs(oi,{children:[a.jsx(ni,{title:n.status,children:n.status}),n.finishDate===void 0?null:a.jsx(ii,{children:n.finishDate.toLocaleDateString()})]})]}),i?a.jsx(Jn,{goalsByCategories:t,goalsWithoutCategory:r}):null]})}function ci({isExpanded:e,milestone:t}){const r=_.useMemo(()=>t.goals===void 0?{}:t.goals.filter(o=>o.category!==void 0).reduce((o,s)=>{const{category:l}=s;if(l===void 0)return o;const{name:f}=l,h=o[f]??[];return{...o,[f]:[...h,s]}},{}),[t]),n=_.useMemo(()=>t.goals===void 0?[]:t.goals.filter(i=>i.category===void 0),[t]);return a.jsx(si,{goalsByCategories:r,goalsWithoutCategory:n,isExpanded:e,milestone:t})}const li=u.div`
align-items: center;
background-color: ${e=>e.theme.palette.oldMilestones.background.default};
border: 1px solid
${e=>e.theme.palette.oldMilestones.border.default};
border-radius: 8px;
color: white;
display: flex;
padding: 12px 12px 14px 10px;
text-transform: uppercase;
transform: rotate(180deg);
`,di=u.div`
align-items: center;
display: flex;
cursor: pointer;
justify-content: flex-start;
user-select: none;
writing-mode: tb-rl;
`;function Ze({children:e,...t}){return a.jsx(di,{...t,children:a.jsx(li,{children:e})})}const Je=u.span`
margin-bottom: 16px;
`;function ui(){const e=_.useContext(_e),{dispatch:t}=e;return e.state.showMilestonesFinished?a.jsxs(Ze,{onClick:()=>{t(Ke(!1))},children:[a.jsx(Je,{children:e.state.translation.previousButton.hidePrevious}),a.jsx(yt,{title:e.state.translation.previousButton.hidePrevious})]}):a.jsxs(Ze,{onClick:()=>{t(Ke(!0))},children:[a.jsx(Je,{children:e.state.translation.previousButton.showPrevious}),a.jsx(bt,{title:e.state.translation.previousButton.showPrevious})]})}const fi=u.div`
display: flex;
margin-right: 8px;
min-width: min-content;
overflow-y: auto;
`,pi=u.div`
background-color: ${e=>e.theme.palette.background.default};
box-sizing: border-box;
display: flex;
height: 100%;
overflow-y: hidden;
padding: 16px;
width: 100%;
`;function hi({areThereMilestonesFinished:e,className:t,milestones:r}){return a.jsxs(pi,{className:t??"",children:[e?a.jsx("div",{style:{marginRight:12},children:a.jsx(ui,{})}):null,r.map(n=>a.jsx(fi,{children:a.jsx(ci,{isExpanded:n.finishDate===void 0,milestone:n})},n.name))]})}function mi({className:e,milestones:t,translation:r}){const n=_.useContext(_e),{dispatch:i}=n,o=_.useMemo(()=>t.length===0?[]:n.state.showMilestonesFinished?t:t.filter(l=>l.finishDate===void 0),[t,n.state.showMilestonesFinished]),s=_.useMemo(()=>t.length===0?!1:t.filter(l=>l.finishDate!==void 0).length>0,[t]);return _.useEffect(()=>{i(en(r))},[r]),o.length===0?null:a.jsx(hi,{areThereMilestonesFinished:s,className:e,milestones:o})}const xi=0,gi=900,ae={mobile:xi,laptop:gi},vi={background:{default:"#0d2635"},category:{background:{default:"#1a5a7f"},border:{default:"#3785ae"},expandIcon:{default:"#ade1ff"}},milestone:{background:{default:"#164664"},expandIcon:{default:"#ade1ff"},finishDate:{font:{default:"#ade1ff"}},status:{border:{default:"#3785ae"},font:{default:"#ade1ff"}}},oldMilestones:{background:{default:"#164664"},border:{default:"#296d94"}},scrollBar:{default:"#bac1c5",hover:"#949a9d"}},yi={mobileMin:`(min-width: ${ae.mobile}px)`,laptopMax:`(max-width: ${ae.laptop}px)`,laptopMin:`(min-width: ${ae.laptop}px)`},ve={breakpoints:ae,devices:yi,palette:vi};function bi(e){return{breakpoints:e?.breakpoints??ve.breakpoints,devices:e?.devices??ve.devices,palette:e?.palette??ve.palette}}function wi({className:e,roadmapMilestonesData:t,theme:r,translation:n}){if(t?.milestones===void 0)throw new Error("RoadmapMilestones: roadmapMilestonesData is required.");if(t.milestones.length===0)return null;const i=n??mt,o=_.useMemo(()=>bi(r),[r]);return a.jsxs(Rr,{theme:o,children:[a.jsx(Kr,{theme:o}),a.jsx(Qr,{children:a.jsxs(Zr,{children:[a.jsx(Xr,{className:e}),a.jsx(mi,{className:e,milestones:t.milestones,translation:i})]})})]})}exports.ReactRoadmapMilestones=wi;