(window.webpackJsonp=window.webpackJsonp||[]).push([["7qxq"],{"Kw4+":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var l={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(l,i,a):l[i]=e[i]}l.default=e,r&&r.set(e,l);return l}(r("q1tI")),n=r("nA/X");function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}const{coral:i}=n.colors;t.default=({radius:e,width:t,height:r,offset:n})=>{const o=[`${e},0`,`0,-${e}`,`-${e},0`,`0,${e}`].join(" "),a=t-n,c=r-n;return l.createElement("g",{fill:"none",fillRule:"evenodd",transform:`translate(${a} ${c})`},l.createElement("polyline",{fill:i,points:o}))}},sqwj:function(e,t,r){"use strict";var l=r("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(r("pVnL")),o=p(r("q1tI")),i=l(r("Pwnf")),a=r("mR6N"),c=r("nA/X"),u=l(r("Kw4+")),s=p(r("8jAt"));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var l={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(l,o,i):l[o]=e[o]}return l.default=e,r&&r.set(e,l),l}const d={viewBoxWidth:20,viewBoxHeight:37},y={darkBackground:!1,height:d.viewBoxHeight,level:c.constants.UNFAMILIAR,width:d.viewBoxWidth};t.default=e=>{const t=(0,n.default)({},y,e),{darkBackground:r,height:l,level:i,style:f,width:p}=t,{viewBoxWidth:m,viewBoxHeight:g}=d,v=r?h.emptyDark:h.emptyLight,{bottomStyle:b,middleStyle:O,topStyle:S,showStrugglingIndicator:j}=w(i,v),k=c.levelPointsMap[i],M=s._("%(num)s out of 100 Mastery points",{num:k}),P=()=>(0,u.default)({radius:3,width:16,height:34,offset:2});return o.createElement("svg",{"aria-label":M,className:(0,a.css)(h.indicator,f),xmlns:"http://www.w3.org/2000/svg",width:p,height:l,role:"img",title:M,viewBox:`-3 0 ${m} ${g}`},o.createElement("rect",{className:(0,a.css)(b),x:"0",y:"18",width:"14",height:"14"}),o.createElement("rect",{className:(0,a.css)(O),x:"0",y:"8",width:"14",height:"8"}),o.createElement("rect",{className:(0,a.css)(h.bottomBar),x:"0",y:"30",width:"14",height:"2"}),o.createElement("polygon",{className:(0,a.css)(S),points:"14 0 10.131 3.774 7 0 3.868 3.775 0 0 0 6 14 6"}),j&&o.createElement(P,null))};const h=a.StyleSheet.create({indicator:{fill:i.default.white},purple:{fill:i.default.purple,fillOpacity:1},emptyLight:{fill:i.default.offBlack,fillOpacity:.16},emptyDark:{fill:i.default.white,fillOpacity:.3},bottomBar:{fill:i.default.offBlack64}}),w=(e,t)=>{switch(e){case c.constants.UNFAMILIAR:return{bottomStyle:t,middleStyle:t,topStyle:t};case c.constants.ATTEMPTED:return{bottomStyle:t,middleStyle:t,topStyle:t,showStrugglingIndicator:!0};case c.constants.FAMILIAR:return{bottomStyle:h.purple,middleStyle:t,topStyle:t};case c.constants.PROFICIENT:return{bottomStyle:h.purple,middleStyle:h.purple,topStyle:t};default:return{bottomStyle:h.purple,middleStyle:h.purple,topStyle:h.purple}}}}}]);
//# sourceMappingURL=../../sourcemaps/en/7qxq.4d66cebf754c82106ad8.js.map