@khanacademy/perseus 65.0.0 → 65.1.1

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.
@@ -7,8 +7,7 @@ type InlineIconProps = {
7
7
  title?: string;
8
8
  };
9
9
  /**
10
- * A stripped version of Icon.jsx from webapp. Takes an SVG icon and renders it
11
- * inline like Font Awesome did.
10
+ * Takes an SVG icon and renders it inline.
12
11
  *
13
12
  * You can refer to `icon-paths.ts` for all available SVG icons.
14
13
  *
package/dist/es/index.css CHANGED
@@ -1 +1 @@
1
- .framework-perseus{.free-response .free-response-question{.paragraph{font-weight:700}:nth-child(1 of .paragraph){margin-top:0}:nth-last-child(1 of .paragraph){margin-bottom:0}}}.perseus-sr-only{clip:rect(0,0,0,0);border:0;font-size:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.perseus-clearfix{*zoom:1}.perseus-clearfix:after,.perseus-clearfix:before{content:"";display:table}.perseus-clearfix:after{clear:both}.framework-perseus code{font-family:Courier,monospace}.framework-perseus pre{background-color:#f0f1f2;border-radius:4px;color:#21242c;font-size:18px;overflow:auto;padding:16px;white-space:pre}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container:not(.perseus-widget__definition){font-size:14px;line-height:19.6px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container.widget-float-left,.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container.widget-float-right{max-width:50%;padding-top:32px;width:100%}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container.widget-float-left .perseus-image-caption .paragraph .paragraph,.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container.widget-float-right .perseus-image-caption .paragraph .paragraph{margin-bottom:0}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container.widget-float-left{float:left;padding-right:32px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container.widget-float-right{float:right;padding-left:32px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph{color:#21242c;font-size:20px;line-height:30px;margin:0 auto;max-width:688px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph .paragraph{color:#21242c;font-size:20px;line-height:30px;margin-bottom:32px;margin-top:0}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph mjx-container{font-size:100%}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph ul:not(.perseus-widget-radio){color:#21242c;font-size:20px;line-height:30px}.framework-perseus.perseus-article:not(.perseus-mobile) table{color:#21242c;font-size:20px;line-height:30px;margin-bottom:32px}.framework-perseus.perseus-article:not(.perseus-mobile) h2{font-family:inherit;font-size:30px;font-weight:700;line-height:1.1;margin-bottom:16px;margin-top:48px}.framework-perseus.perseus-article:not(.perseus-mobile) h3{font-family:inherit;font-size:26px;font-weight:700;line-height:1.1;margin-bottom:16px;margin-top:32px}.framework-perseus.perseus-article:not(.perseus-mobile) h4,.framework-perseus.perseus-article:not(.perseus-mobile) h5,.framework-perseus.perseus-article:not(.perseus-mobile) h6{font-family:inherit;font-size:22px;font-weight:700;line-height:25px;margin-bottom:16px;margin-top:32px}.framework-perseus.perseus-article:not(.perseus-mobile) blockquote{padding:0 32px}.framework-perseus.perseus-article:not(.perseus-mobile) .MathJax .math{color:inherit}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-image-caption .perseus-renderer .paragraph .paragraph,.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-image-caption .perseus-renderer .paragraph ol,.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-image-caption .perseus-renderer .paragraph ul{color:rgba(33,36,44,.64);font-size:14px;line-height:19px;margin:16px auto 42px;text-align:left}.framework-perseus.perseus-article:not(.perseus-mobile) .paragraph.perseus-paragraph-full-width{margin-bottom:32px;margin-left:0;margin-right:0;max-width:none}.framework-perseus.perseus-article:not(.perseus-mobile) .paragraph.perseus-paragraph-full-width>.paragraph{margin:0;max-width:none}.framework-perseus.perseus-article:not(.perseus-mobile) .svg-image,.framework-perseus.perseus-article:not(.perseus-mobile) .unresponsive-svg-image{font-size:14px;line-height:19.6px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-block-math{margin-bottom:32px;position:relative}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-block-math:before{bottom:0;content:"";position:absolute;right:0;top:0;width:30px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-block-math-inner{overflow-x:auto;padding-bottom:8px;padding-right:20px;padding-top:8px}.framework-perseus.perseus-article:not(.perseus-mobile)>.clearfix:first-child>.perseus-renderer:first-child>.paragraph:first-child h1:first-child,.framework-perseus.perseus-article:not(.perseus-mobile)>.clearfix:first-child>.perseus-renderer:first-child>.paragraph:first-child h2:first-child,.framework-perseus.perseus-article:not(.perseus-mobile)>.clearfix:first-child>.perseus-renderer:first-child>.paragraph:first-child h3:first-child,.framework-perseus.perseus-article:not(.perseus-mobile)>.clearfix:first-child>.perseus-renderer:first-child>.paragraph:first-child h4:first-child,.framework-perseus.perseus-article:not(.perseus-mobile)>.clearfix:first-child>.perseus-renderer:first-child>.paragraph:first-child h5:first-child,.framework-perseus.perseus-article:not(.perseus-mobile)>.clearfix:first-child>.perseus-renderer:first-child>.paragraph:first-child h6:first-child{margin-top:0}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph .perseus-formats-tooltip{padding:8px 12px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph .perseus-formats-tooltip .paragraph{margin-bottom:0}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph .perseus-formats-tooltip .paragraph ul:not(.perseus-widget-radio){font-size:15px;line-height:1.5;margin:0}.framework-perseus.perseus-article:not(.perseus-mobile) pre{margin:0 -16px 32px}.framework-perseus:not(.perseus-article):not(.perseus-mobile) .perseus-radio-option-content .perseus-renderer>.paragraph,.framework-perseus:not(.perseus-article):not(.perseus-mobile) .perseus-radio-option-content .perseus-renderer>.paragraph .paragraph,.framework-perseus:not(.perseus-article):not(.perseus-mobile) .perseus-radio-rationale-content .perseus-renderer>.paragraph,.framework-perseus:not(.perseus-article):not(.perseus-mobile) .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph{color:#21242c;font-family:inherit;font-size:14px;line-height:1.25}.framework-perseus:not(.perseus-article):not(.perseus-mobile) .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph mjx-container{color:#21242c}.framework-perseus.perseus-mobile .perseus-article .perseus-widget-container.widget-float-left{float:left;max-width:50%;padding-right:1em;width:100%}.framework-perseus.perseus-mobile .perseus-article .perseus-widget-container.widget-float-right{float:right;max-width:50%;padding-left:1em;width:100%}.framework-perseus.perseus-mobile .perseus-article .perseus-renderer>.paragraph{margin-left:auto;margin-right:auto;max-width:700px}.framework-perseus.perseus-mobile .perseus-article .paragraph.perseus-paragraph-full-width{margin-left:0;margin-right:0;max-width:none}.framework-perseus.perseus-mobile .perseus-article .paragraph.perseus-paragraph-full-width>.paragraph{margin:0;max-width:none}.framework-perseus.perseus-mobile :not(blockquote)>div.paragraph{margin:0}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph{margin:0 auto}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph:not(:first-child){margin-top:32px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph>.paragraph{margin:0}.framework-perseus.perseus-mobile .clearfix>.perseus-renderer{margin-bottom:32px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio,.indicatorContainer){margin:0 0 0 1em;padding:0}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio,.indicatorContainer)>li{margin-bottom:24px;padding-left:10px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol{margin:0;padding-left:32px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol>li{list-style-type:decimal;margin-bottom:24px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol ol,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol ul:not(.perseus-widget-radio),.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio) ol,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio) ul:not(.perseus-widget-radio){padding-top:24px}.framework-perseus.perseus-mobile .perseus-block-math{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}@media (max-width:767px){.framework-perseus.perseus-mobile .perseus-renderer>.paragraph{max-width:none}.framework-perseus.perseus-mobile h1{color:#21242c;font-family:inherit;font-size:24px;font-weight:700;line-height:1.2;padding-top:0}.framework-perseus.perseus-mobile h2{color:#3b3e40;font-family:inherit;font-size:24px;font-weight:700;line-height:1.2;padding-top:16px}.framework-perseus.perseus-mobile h3,.framework-perseus.perseus-mobile h4{color:#626569;font-family:inherit;font-size:22px;font-weight:700;line-height:1.1;padding-top:0}.framework-perseus.perseus-mobile .default-body-text,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio),.framework-perseus.perseus-mobile blockquote{color:#626569;font-family:inherit;font-size:18px;line-height:1.4}.framework-perseus.perseus-mobile blockquote{color:#888d93}.framework-perseus.perseus-mobile table{color:#626569;font-family:inherit;font-size:18px;line-height:1.4}.framework-perseus.perseus-mobile .perseus-radio-option-content .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-radio-option-content .perseus-renderer>.paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph{color:#21242c;font-family:inherit;font-size:16px;line-height:1.25}.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph mjx-container{color:#21242c}.framework-perseus.perseus-mobile .perseus-image-caption .paragraph .paragraph{color:#888d93;font-size:14px;line-height:1.3;text-align:left}.framework-perseus.perseus-mobile .perseus-image-caption.has-title .paragraph .paragraph strong:first-child{color:#3b3e40}.framework-perseus.perseus-mobile mjx-container:not(.mafs-graph *){color:#21242c;font-size:21px;line-height:1.2}.framework-perseus.perseus-mobile .perseus-block-math mjx-container{font-size:21px;line-height:1.5}.framework-perseus.perseus-mobile .graphie-label mjx-container{font-size:1.21em;line-height:1.2}.framework-perseus.perseus-mobile code{font-family:Courier,monospace}.framework-perseus.perseus-mobile pre{background-color:#f0f1f2;border-radius:4px;color:#21242c;font-size:18px;line-height:1.6;overflow:auto;padding:16px;white-space:pre}.framework-perseus.perseus-mobile blockquote{border-left:4px solid #d8d8d8;padding:0 0 0 18px}}@media (min-width:768px) and (max-width:1199px){.framework-perseus.perseus-mobile .perseus-renderer>.paragraph{max-width:512px}.framework-perseus.perseus-mobile h1{color:#21242c;font-family:inherit;font-size:30px;font-weight:700;line-height:1.1;padding-top:0}.framework-perseus.perseus-mobile h2{color:#3b3e40;font-family:inherit;font-size:30px;font-weight:700;line-height:1.1;padding-top:32px}.framework-perseus.perseus-mobile h3,.framework-perseus.perseus-mobile h4{color:#626569;font-family:inherit;font-size:28px;font-weight:700;line-height:1.1;padding-top:16px}.framework-perseus.perseus-mobile .default-body-text,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio),.framework-perseus.perseus-mobile blockquote{color:#626569;font-family:inherit;font-size:20px;line-height:1.5}.framework-perseus.perseus-mobile blockquote{color:#888d93}.framework-perseus.perseus-mobile table{color:#626569;font-family:inherit;font-size:20px;line-height:1.5}.framework-perseus.perseus-mobile .perseus-radio-option-content .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-radio-option-content .perseus-renderer>.paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph{color:#21242c;font-family:inherit;font-size:18px;line-height:1.25}.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph mjx-container{color:#21242c}.framework-perseus.perseus-mobile .perseus-image-caption .paragraph .paragraph{color:#888d93;font-size:17px;line-height:1.4;text-align:left}.framework-perseus.perseus-mobile .perseus-image-caption.has-title .paragraph .paragraph strong:first-child{color:#3b3e40}.framework-perseus.perseus-mobile mjx-container:not(.mafs-graph *){color:#21242c;font-size:23px;line-height:1.3}.framework-perseus.perseus-mobile .perseus-block-math mjx-container{font-size:30px;line-height:1.3}.framework-perseus.perseus-mobile .graphie-label mjx-container{font-size:1.21em;line-height:1.2}.framework-perseus.perseus-mobile code{font-family:Courier,monospace}.framework-perseus.perseus-mobile pre{background-color:#f0f1f2;border-radius:4px;color:#21242c;font-size:18px;line-height:1.6;overflow:auto;padding:16px;white-space:pre}.framework-perseus.perseus-mobile blockquote{border-left:4px solid #d8d8d8;padding:0 0 0 20px}}@media (min-width:1200px){.framework-perseus.perseus-mobile .perseus-renderer>.paragraph{max-width:688px}.framework-perseus.perseus-mobile h1{color:#21242c;font-family:inherit;font-size:35px;font-weight:700;line-height:1.1;padding-top:0}.framework-perseus.perseus-mobile h2{color:#3b3e40;font-family:inherit;font-size:35px;font-weight:700;line-height:1.1;padding-top:32px}.framework-perseus.perseus-mobile h3,.framework-perseus.perseus-mobile h4{color:#626569;font-family:inherit;font-size:30px;font-weight:700;line-height:1.1;padding-top:16px}.framework-perseus.perseus-mobile .default-body-text,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio),.framework-perseus.perseus-mobile blockquote{color:#626569;font-family:inherit;font-size:22px;line-height:1.4}.framework-perseus.perseus-mobile blockquote{color:#888d93}.framework-perseus.perseus-mobile table{color:#626569;font-family:inherit;font-size:22px;line-height:1.4}.framework-perseus.perseus-mobile .perseus-radio-option-content .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-radio-option-content .perseus-renderer>.paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph{color:#21242c;font-family:inherit;font-size:20px;line-height:1.25}.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph mjx-container{color:#21242c}.framework-perseus.perseus-mobile .perseus-image-caption .paragraph .paragraph{color:#888d93;font-size:20px;line-height:1.4;text-align:left}.framework-perseus.perseus-mobile .perseus-image-caption.has-title .paragraph .paragraph strong:first-child{color:#3b3e40}.framework-perseus.perseus-mobile mjx-container:not(.mafs-graph *){color:#21242c;font-size:25px;line-height:1.2}.framework-perseus.perseus-mobile .perseus-block-math mjx-container{font-size:30px;line-height:1.3}.framework-perseus.perseus-mobile .graphie-label mjx-container{font-size:1.21em;line-height:1.2}.framework-perseus.perseus-mobile code{font-family:Courier,monospace}.framework-perseus.perseus-mobile pre{background-color:#f0f1f2;border-radius:4px;color:#21242c;font-size:18px;line-height:1.6;overflow:auto;padding:16px;white-space:pre}.framework-perseus.perseus-mobile blockquote{border-left:5px solid #d8d8d8;padding:0 0 0 20px}}.framework-perseus.perseus-mobile .perseus-widget-container{font-size:14px;line-height:19.6px}.framework-perseus.perseus-mobile .perseus-widget-container.widget-float-left,.framework-perseus.perseus-mobile .perseus-widget-container.widget-float-right{max-width:50%;padding-top:32px;width:100%}.framework-perseus.perseus-mobile .perseus-widget-container.widget-float-left .perseus-image-caption .paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-widget-container.widget-float-right .perseus-image-caption .paragraph .paragraph{margin-bottom:0}.framework-perseus.perseus-mobile .perseus-widget-container.widget-float-left{float:left;padding-right:32px}.framework-perseus.perseus-mobile .perseus-widget-container.widget-float-right{float:right;padding-left:32px}.framework-perseus.perseus-mobile .MathJax .math{color:inherit}.framework-perseus.perseus-mobile .perseus-image-widget{text-align:center}.framework-perseus.perseus-mobile .perseus-block-math{padding-bottom:16px;padding-top:16px}.framework-perseus.perseus-mobile .paragraph.perseus-paragraph-full-width{margin-left:0;margin-right:0;max-width:none}.framework-perseus.perseus-mobile .paragraph.perseus-paragraph-full-width>.paragraph{margin:0;max-width:none}.framework-perseus.perseus-mobile .svg-image,.framework-perseus.perseus-mobile .unresponsive-svg-image{font-size:14px;line-height:19.6px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph .perseus-formats-tooltip{padding:8px 12px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph .perseus-formats-tooltip .paragraph{margin-bottom:0}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph .perseus-formats-tooltip .paragraph ul:not(.perseus-widget-radio){font-size:15px;line-height:1.5;margin:0}.zoomable{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in}.zoom-img{background-color:#fff;position:absolute;z-index:9001}img.zoom-img{cursor:pointer;cursor:-webkit-zoom-out;cursor:-moz-zoom-out}.zoom-transition{transition:transform .3s ease}.zoom-overlay{bottom:0;left:0;overflow:scroll;position:fixed;right:0;top:0;z-index:9000}.zoom-overlay-open,.zoom-overlay-transitioning{cursor:default}.zoom-overlay-open{height:100%;max-height:100%;overflow:hidden}.zoom-backdrop{background:#fff;bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;transition:opacity .3s;z-index:8999}.zoom-overlay-open>.zoom-backdrop{opacity:.9}#perseus{position:relative}.framework-perseus.perseus-mobile{margin-top:48px}.no-select{-webkit-user-select:none;user-select:none}.blank-background{background-color:#fdfdfd}.graphie{-webkit-user-select:none;user-select:none}.graphie svg{left:0;position:absolute;top:0}div.graphie,var{font-size:14px;white-space:pre}.hint.last-hint .paragraph{font-weight:700}#answercontent input[type=number].perseus-input-size-normal,#answercontent input[type=text].perseus-input-size-normal,.framework-perseus input[type=number].perseus-input-size-normal,.framework-perseus input[type=text].perseus-input-size-normal{border:1px solid #ccc;width:80px}#answercontent input[type=number].perseus-input-size-small,#answercontent input[type=text].perseus-input-size-small,.framework-perseus input[type=number].perseus-input-size-small,.framework-perseus input[type=text].perseus-input-size-small{border:1px solid #ccc;width:40px}#answercontent input[type=number].perseus-input-right-align,#answercontent input[type=text].perseus-input-right-align,.framework-perseus input[type=number].perseus-input-right-align,.framework-perseus input[type=text].perseus-input-right-align,.framework-perseus.perseus-mobile .perseus-input-right-align .keypad-input{text-align:right}.framework-perseus div.paragraph{font-family:Lato,sans-serif;font-size:18px;font-weight:400;line-height:22px;margin:22px 0}.framework-perseus .test-prep-blurb div.paragraph{font-size:16px;line-height:20px}.framework-perseus div.instructions{display:block;font-family:"Noto Serif",serif;font-size:18px;font-style:italic;font-weight:800;line-height:22px}.framework-perseus .perseus-renderer>.paragraph>ol,.framework-perseus .perseus-renderer>.paragraph>ul:not(.perseus-widget-radio){margin:0 0 22px}.framework-perseus .paragraph ul:not(.perseus-widget-radio,.indicatorContainer){list-style-type:disc;padding-left:35px}.framework-perseus .paragraph ol{list-style:decimal;padding-left:2em}.framework-perseus blockquote{padding:0 2.5em}.framework-perseus .zoomable{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}.framework-perseus sup:not(.mq-non-leaf){font-size:smaller;line-height:0;vertical-align:super}.framework-perseus .range-input{border:1px solid #ccc;border-radius:5px;display:inline-block;padding:0 5px}.framework-perseus .range-input>input{border:0;display:inline;text-align:center;width:30px}.framework-perseus .range-input>span{color:#999;font-size:14px}.framework-perseus .number-input{border:1px solid #909296;border-radius:5px;margin:0;padding:5px 0;text-align:center;width:40px}.framework-perseus .number-input.invalid-input{background-color:#ffbaba;outline-color:red}.framework-perseus .number-input.mini{width:40px}.framework-perseus .number-input.small{width:60px}.framework-perseus .number-input.normal{width:80px}.framework-perseus .graph-settings .graph-settings-axis-label{border:1px solid #ccc;border-radius:5px;display:inline-block;float:right;margin:0 5px;padding:5px;width:70px}.framework-perseus .graph-settings .graph-settings-background-url{width:250px}.framework-perseus .graphie-container{position:relative}.framework-perseus .graph-settings,.framework-perseus .image-settings,.framework-perseus .misc-settings{padding-bottom:5px}.framework-perseus .misc-settings,.framework-perseus .type-settings{border-top:1px solid #000;padding-top:5px}.framework-perseus .svg-image{display:block;margin:0 auto;margin-inline-end:auto;margin-inline-start:auto}.framework-perseus .perseus-rendered-radio .unresponsive-svg-image,.framework-perseus .unresponsive-svg-image{display:inline-block;position:relative}.framework-perseus .perseus-rendered-radio .unresponsive-svg-image>.graphie-container,.framework-perseus .unresponsive-svg-image>.graphie-container{left:0;position:absolute;top:0}.framework-perseus .fixed-to-responsive{position:relative;width:100%}.framework-perseus .fixed-to-responsive>:not(:first-child){height:100%;left:0;position:absolute;top:0;width:100%}.framework-perseus:not(.perseus-mobile) table{font-size:14px;line-height:19.6px}.framework-perseus:not(.perseus-mobile) table td,.framework-perseus:not(.perseus-mobile) table th{padding:5px 10px;text-align:left}.framework-perseus:not(.perseus-mobile) table td[align=center],.framework-perseus:not(.perseus-mobile) table th[align=center]{text-align:center}.framework-perseus:not(.perseus-mobile) table td[align=right],.framework-perseus:not(.perseus-mobile) table th[align=right]{text-align:right}.framework-perseus:not(.perseus-mobile) table th{border-bottom:2px solid #ccc;font-weight:700;padding-bottom:2px}.framework-perseus:not(.perseus-mobile) table tr:nth-child(odd) td{background-color:#f7f8fa}.framework-perseus:not(.perseus-mobile) .perseus-titled-table{display:inline-block}.framework-perseus:not(.perseus-mobile) .perseus-titled-table table{margin-left:auto;margin-right:auto}.framework-perseus:not(.perseus-mobile) .perseus-table-title{font-size:larger;text-align:center}.framework-perseus:not(.perseus-mobile) table.non-markdown tr:nth-child(odd) td{background-color:transparent}.framework-perseus:not(.perseus-mobile) table.non-markdown td,.framework-perseus:not(.perseus-mobile) table.non-markdown th{border-width:0}.framework-perseus.perseus-mobile table{border-collapse:collapse;margin:0 auto}.framework-perseus.perseus-mobile table tbody>tr{border:1px solid #e5e5e5}.framework-perseus.perseus-mobile table td,.framework-perseus.perseus-mobile table th{padding:16px;text-align:left}.framework-perseus.perseus-mobile table td[align=center],.framework-perseus.perseus-mobile table th[align=center]{text-align:center}.framework-perseus.perseus-mobile table td[align=right],.framework-perseus.perseus-mobile table th[align=right]{text-align:right}.framework-perseus.perseus-mobile table td{background:#fff}.framework-perseus.perseus-mobile table th{font-weight:700}@media (max-width:767px){.framework-perseus.perseus-mobile table{min-width:480px;width:100%}.framework-perseus.perseus-mobile table tbody>tr{border-left:0;border-right:0}}.framework-perseus.perseus-mobile .perseus-titled-table{display:inline-block}.framework-perseus.perseus-mobile .perseus-table-title{font-size:larger;text-align:center}.perseus-graph-padding{box-sizing:content-box;padding:25px 25px 0 0}.perseus-article .perseus-dropdown .perseus-renderer .paragraph,.perseus-article .perseus-dropdown .perseus-renderer .perseus-block-math{font-size:18px!important;margin-bottom:0!important}.categorizer-container{margin-top:20px}.categorizer-container div.paragraph{margin:10px 0}.categorizer-container .category{text-align:center}.categorizer-container table{min-width:0}body.mobile .categorizer-container td.category input[type=radio]:checked+span:before{color:#1c758a}body.mobile .categorizer-container td.category input[type=radio]+span:active:before{color:#666;content:"\f111"}.perseus-widget-dropdown,.perseus-widget-expression{position:relative}.perseus-widget-expression .error-tooltip,.perseus-widget-expression>span{display:inline-block;vertical-align:middle}.perseus-widget-expression .error-tooltip{position:absolute;right:6px;top:-2px}.perseus-widget-expression .error-icon{color:#fcc335;cursor:pointer;font-size:20px}.perseus-widget-expression .error-text{background-color:#fff;padding:5px;width:210px}.perseus-widget-expression .perseus-formats-tooltip{width:190px}.perseus-widget-grapher{box-sizing:content-box;padding:25px 25px 0 0}.perseus-widget-grapher>.graphie-container{position:relative}.perseus-widget-grapher>.graphie-container .svg-image,.perseus-widget-grapher>.graphie-container>img{position:absolute}.framework-perseus .perseus-graded-group{margin-left:3px;padding-left:5px;position:relative;width:100%}.framework-perseus .perseus-graded-group.answer-correct{border-left:3px solid #76a005;margin-left:0}.framework-perseus .perseus-graded-group.answer-incorrect{border-left:3px solid #ff8787;margin-left:0}.framework-perseus .perseus-graded-group .group-icon{font-size:14px;left:-30px;position:absolute;text-align:center;top:50%;top:calc(50% - 7px);width:16px}.framework-perseus .perseus-group{position:relative;width:100%}.framework-perseus .perseus-group .group-icon{font-size:14px;margin-left:-20px;position:absolute;top:50%;top:calc(50% - 7px)}.perseus-image-widget .perseus-image-title{text-align:center}.perseus-image-widget .perseus-image-caption{color:rgba(33,36,44,.7);padding-left:16px;position:relative}.perseus-image-widget .perseus-image-caption:before{background-color:rgba(33,36,44,.5);border:1px solid rgba(33,36,44,.5);border-radius:2px;bottom:0;content:"";left:0;margin-left:4px;position:absolute;top:0;width:1px}.perseus-image-widget .perseus-image-caption .paragraph{font-size:14px;padding-right:12px}.perseus-image-editor .label-settings td{padding:5px 4px;text-align:center}.perseus-image-editor .label-settings tr:nth-child(odd) td{background-color:transparent}.perseus-image-editor .label-settings td,.perseus-image-editor .label-settings th{border-width:0}.perseus-image-editor .graph-settings,.perseus-image-editor .image-settings{margin-top:5px}.perseus-image-widget{margin-inline-end:auto;margin-inline-start:auto}.perseus-hint-renderer .perseus-image-widget,.perseus-hint-renderer .svg-image{margin-inline-start:0}.perseus-widget-interactive-graph{box-sizing:content-box;padding:25px 25px 0 0}.perseus-widget-interactive-graph>.graphie-container{position:relative}.perseus-widget-interactive-graph>.graphie-container>.unresponsive-svg-image,.perseus-widget-interactive-graph>.graphie-container>img{bottom:0;left:0;position:absolute}.perseus-mobile .tooltip.visible{z-index:2}.perseus-mobile .tooltip.visible .tooltip-content:before{border:solid;border-color:#fff transparent;border-width:10px 10px 0;bottom:-10px;content:"";left:50%;position:absolute;transform:translateX(-50%);z-index:2}.perseus-mobile .tooltip .tooltip-content{display:none}.perseus-mobile .tooltip.visible .tooltip-content{background-color:#fff;border-radius:5px;bottom:50px;display:inline-block;left:50%;min-width:30px;padding:5px;position:absolute;text-align:center;transform:translateX(-50%);white-space:nowrap}.perseus-mobile .tooltip.visible .tooltip-content mjx-container{color:#71b307!important}.perseus-mobile .graphie-label mjx-container{color:inherit!important}.framework-perseus .perseus-label-image-widget-instructions div.paragraph{margin:0}@media (max-width:767px){.framework-perseus.perseus-mobile [id*=perseus-label-image-widget-answer-pill] mjx-container,[id*=perseus-label-image-widget-answer-pill]>div.perseus-renderer-responsive{all:revert}}.framework-perseus:not(.perseus-article).perseus-mobile .perseus-label-image-widget-instructions{color:initial}.framework-perseus:not(.perseus-article).perseus-mobile .perseus-label-image-widget-instructions .perseus-renderer .paragraph>.paragraph{color:initial!important;font-size:medium!important;line-height:normal!important}.framework-perseus:not(.perseus-article).perseus-mobile .perseus-label-image-widget-instructions .perseus-block-math{padding:0}.framework-perseus:not(.perseus-article).perseus-mobile .perseus-label-image-widget-instructions .perseus-block-math mjx-container{font-size:medium!important;line-height:normal!important}.perseus-label-image-widget-answer-choices .perseus-block-math>.perseus-block-math-inner,.perseus-label-image-widget-instructions .perseus-block-math>.perseus-block-math-inner{overflow-x:hidden!important}.perseus-widget-matcher div.paragraph{margin:0}.perseus-matrix .matrix-prefix,.perseus-matrix .matrix-suffix{display:inline-block;margin:10px 5px 0 10px;vertical-align:top}.perseus-matrix .matrix-suffix{margin:10px 10px 0 5px}.perseus-matrix div.paragraph{margin:0}.perseus-matrix .matrix-input{background:#e2e2e2;display:inline-block;margin:5px;padding:3px;position:relative;width:auto}.perseus-matrix .matrix-row{white-space:nowrap}.perseus-matrix .matrix-bracket{border-bottom:2px solid #666;border-left-color:#666;border-left-style:solid;border-right-color:#666;border-right-style:solid;border-top:2px solid #666;margin-top:-2px;position:absolute;width:6px}.perseus-matrix .matrix-bracket.bracket-left{border-color:#666;border-left-width:2px;border-right-width:0;left:3px}.perseus-matrix .matrix-bracket.bracket-right{border-color:#666;border-left-width:0;border-right-width:2px;margin-left:-3px}.perseus-matrix .number-input,.perseus-matrix input{border:none;border-radius:0;box-sizing:border-box;margin:3px;padding:0;text-align:center}.perseus-matrix .number-input.outside,.perseus-matrix input.outside{background:#f3f3f3}.perseus-matrix .number-input:focus,.perseus-matrix input:focus{border:none;outline:none}.static-mode.perseus-matrix .number-input,.static-mode.perseus-matrix input{background:#f5f5f5}.perseus-matrix.the-matrix .matrix-bracket,.perseus-matrix.the-matrix .matrix-left,.perseus-matrix.the-matrix .matrix-right{border-color:#29f139}.perseus-matrix.the-matrix .matrix-input{background:#222}.perseus-matrix.the-matrix .number-input,.perseus-matrix.the-matrix input{background:#666;color:#29f139;font-weight:700}.perseus-matrix.the-matrix .number-input.outside,.perseus-matrix.the-matrix input.outside{background:#444}body.mobile .perseus-matrix .matrix-input{display:table}body.mobile .perseus-matrix .matrix-row{display:table-row}body.mobile .perseus-matrix .matrix-input-field{display:table-cell}.perseus-matrix-editor .perseus-single-editor{width:338px}.perseus-widget-measurer{position:relative}.perseus-widget-measurer img{position:absolute}.perseus-widget-measurer-url{width:70%}#translations-dashboard .perseus-widget-measurer>.graphie{z-index:-1}.input-with-examples-tooltip{background:#fff;color:#717378;font-size:18px;line-height:28px}.input-with-examples-tooltip ul{list-style-type:disc;margin-left:30px}.input-with-examples-tooltip strong{font-weight:700}.input-with-examples-tooltip em{font-style:italic}.orderer{position:relative}.orderer.layout-horizontal .draggable-box{margin-left:0;margin-top:30px;padding:13px}.orderer .card{cursor:pointer;display:flex;flex-direction:column;justify-content:center;padding:0 10px;position:relative;-webkit-user-select:none;user-select:none;width:auto}.orderer.height-normal.layout-horizontal .card{height:65px}.orderer.height-normal.layout-vertical .card{padding:5px}.orderer.height-auto .card{padding:0}.orderer.height-auto.layout-horizontal .drag-hint{min-height:65px;min-width:22px}.orderer.layout-horizontal .bank{margin:0 13px;padding:0}.orderer div.paragraph{margin:0}.orderer .card-wrap{width:auto}.orderer.layout-horizontal .card-wrap{float:left}.orderer.layout-horizontal .card-wrap:not(:first-child){margin-left:8px}.orderer.layout-vertical .card-wrap{float:none;text-align:center}.orderer.layout-vertical .card-wrap:not(:first-child){margin-top:8px}.orderer.layout-vertical .bank,.orderer.layout-vertical .draggable-box{box-sizing:border-box;float:left;max-width:50%}.orderer.layout-vertical .bank{margin:0;padding:11px 20px 11px 0}.orderer.layout-vertical .draggable-box{margin-top:0;min-height:170px;padding:10px}.orderer.layout-vertical .draggable-box .drag-hint{box-sizing:border-box;min-height:34px;min-width:140px}.orderer.layout-vertical .draggable-box .placeholder{box-sizing:border-box}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-widget-passage,.perseus-widget-passage-container .perseus-widget-passage{line-height:20px;margin:22px;position:relative}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-widget-passage div.paragraph,.perseus-widget-passage-container .perseus-widget-passage div.paragraph{font-family:KaTeX_Main,Times,Times New Roman,serif}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-widget-passage .passage-title div.paragraph,.perseus-widget-passage-container .perseus-widget-passage .passage-title div.paragraph{font-family:"Noto Serif",serif;font-size:20px;font-weight:700;line-height:22px;margin:0 0 10px}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-widget-passage>.passage-text div.paragraph,.perseus-widget-passage-container .perseus-widget-passage>.passage-text div.paragraph{font-size:16px;font-weight:400;line-height:20px;margin:0;text-indent:20px}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-widget-passage>.passage-text div.paragraph span,.perseus-widget-passage-container .perseus-widget-passage>.passage-text div.paragraph span{text-indent:0}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-widget-passage>.passage-text div.paragraph em,.perseus-widget-passage-container .perseus-widget-passage>.passage-text div.paragraph em{line-height:0}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container mjx-container,.perseus-widget-passage-container mjx-container{line-height:18px}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .footnotes,.perseus-widget-passage-container .footnotes{margin-top:22px}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .footnotes div.paragraph,.perseus-widget-passage-container .footnotes div.paragraph{font-size:14px;margin:0}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-highlight,.perseus-widget-passage-container .perseus-highlight{background-color:#fffabe}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-review-highlight,.perseus-widget-passage-container .perseus-review-highlight{background-color:#eee7b2}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-passage-bracket-label,.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-passage-circle-label,.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-passage-square-label,.perseus-widget-passage-container .perseus-passage-bracket-label,.perseus-widget-passage-container .perseus-passage-circle-label,.perseus-widget-passage-container .perseus-passage-square-label{font-family:Times,Times New Roman,serif;font-size:16px}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .line-numbers,.perseus-widget-passage-container .line-numbers{font-size:12px;font-style:italic;font-weight:600;left:-52px;max-height:100%;overflow:hidden;padding-right:6px;position:absolute;text-align:right;width:37px}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .line-numbers span,.perseus-widget-passage-container .line-numbers span{display:block;line-height:20px;position:relative;top:2px;visibility:hidden}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .line-numbers .line-marker,.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .line-numbers span:nth-of-type(5n),.perseus-widget-passage-container .line-numbers .line-marker,.perseus-widget-passage-container .line-numbers span:nth-of-type(5n){visibility:visible}.perseus-widget-passage-editor .perseus-single-editor{font-family:Times,Times New Roman,serif;margin-left:-11px}.perseus-widget-passage-editor .perseus-textarea-pair textarea{font-size:13px;line-height:17px}body.sat-section .perseus-widget-passage{margin-top:0}.perseus-widget-plotter svg,.perseus-widget-plotter vml{position:absolute}.perseus-widget-plotter span.rotate{transform:rotate(-90deg)}.set-from-scale-box{border:2px solid #eee;border-radius:3px;padding:3px}.categories-title{font-size:14px}.perseus-mobile .perseus-widget-plotter{border:.5px solid #babec2;border-radius:4px}.perseus-mobile .perseus-widget-plotter .graphie-label mjx-container{color:#626569}.perseus-widget-radio.perseus-rendered-radio div,.perseus-widget-radio.perseus-rendered-radio div>p{display:inline}.perseus-widget-radio.perseus-rendered-radio .perseus-radio-rationale-content>.perseus-renderer>.paragraph{display:table;margin:0}.perseus-widget-radio.perseus-rendered-radio .perseus-radio-rationale-content>.perseus-renderer>.paragraph:not(:last-child){margin-bottom:8px}.perseus-widget-radio .svg-image div,.perseus-widget-radio .unresponsive-svg-image div{display:block}.perseus-widget-radio li div.instructions{margin-bottom:5px}.perseus-widget-radio li .value{display:block;margin-left:18px;min-height:22px}.perseus-widget-radio li img,.perseus-widget-radio li table{display:inline-block;vertical-align:middle}.perseus-widget-radio li table{border:1px solid #ccc}.perseus-widget-radio .perseus-radio-option .paragraph+.paragraph:has(img:only-child),.perseus-widget-radio .perseus-radio-option .paragraph:has(img:only-child):has(+.paragraph){display:block}.perseus-widget-radio-fieldset .instructions{font-family:Lato,sans-serif}.draggy-boxy-thing .cards-area,.draggy-boxy-thing .draggable-box{background:#eee;border:1px solid;border-color:#ccc #ccc #aaa;box-shadow:0 1px 2px #ccc}.draggy-boxy-thing .card{background-color:#fff;border:1px solid #b9b9b9;border-bottom-color:#939393;border-radius:4px;cursor:pointer;touch-action:none}.draggy-boxy-thing .card.placeholder{background:#ddd;border:1px solid #ccc}.draggy-boxy-thing .card.drag-hint{background:none;border:1px dashed #aaa;cursor:auto}.draggy-boxy-thing .card.drag-hint:hover{border-color:#aaa;box-shadow:none}.draggy-boxy-thing .card.dragging{background-color:#ffedcd;filter:opacity(.8);opacity:.8}.draggy-boxy-thing .card.stack{z-index:auto}.draggy-boxy-thing .card.stack:after{background-color:#fff;border:1px solid #b9b9b9;border-bottom-color:#939393;border-radius:4px;content:" ";height:100%;left:1px;position:absolute;top:1px;width:100%;z-index:-1}.draggy-boxy-thing .card:hover{border-color:orange;box-shadow:0 0 4px #c78100}.perseus-sortable div.paragraph{margin:0}.perseus-sortable .perseus-sortable-draggable:before{content:"";display:inline-block;height:100%;vertical-align:middle}.perseus-sortable .perseus-sortable-draggable>div{display:inline-block;font-size:14px;max-width:100%;vertical-align:middle}.perseus-sortable .perseus-sortable-draggable-unpadded img{vertical-align:bottom}.framework-perseus table.perseus-widget-table-of-values.non-markdown{border-collapse:collapse;margin:20px auto;text-align:left}.framework-perseus table.perseus-widget-table-of-values.non-markdown tr{height:23px}.framework-perseus table.perseus-widget-table-of-values.non-markdown td,.framework-perseus table.perseus-widget-table-of-values.non-markdown th{border:2px solid #000;border-width:0 2px}.framework-perseus table.perseus-widget-table-of-values.non-markdown td:first-child,.framework-perseus table.perseus-widget-table-of-values.non-markdown th:first-child{border-left:0}.framework-perseus table.perseus-widget-table-of-values.non-markdown td:last-child,.framework-perseus table.perseus-widget-table-of-values.non-markdown th:last-child{border-right:0}.framework-perseus table.perseus-widget-table-of-values.non-markdown th{border-bottom:2px solid #000;font-weight:400;padding:5px;text-align:left;width:80px}.framework-perseus table.perseus-widget-table-of-values.non-markdown th .paragraph{margin:0}.framework-perseus table.perseus-widget-table-of-values.non-markdown td{padding:0 5px}.framework-perseus table.perseus-widget-table-of-values.non-markdown tbody tr:first-child td{padding-top:5px}.framework-perseus table.perseus-widget-table-of-values input{width:80px}body.mobile .framework-perseus table.perseus-widget-table-of-values.non-markdown td{padding:5px}.perseus-widget-container.widget-nohighlight{transition:all .15s}.perseus-widget-container.widget-highlight{box-shadow:0 0 0 2px orange;transition:all .15s}.perseus-widget-container.widget-inline{display:inline}.perseus-widget-container.widget-inline-block{display:inline-block;vertical-align:bottom}.bibliotron-exercise .perseus-hint-renderer{border-left:4px solid #f6f7f7;padding-left:16px;position:relative}.bibliotron-exercise .perseus-hint-renderer:focus{border-left-color:#d6d8da;outline:none}.bibliotron-exercise .perseus-hint-renderer:after,.bibliotron-exercise .perseus-hint-renderer:before{clear:both;content:"";display:table}.bibliotron-exercise .perseus-hint-renderer div.paragraph{margin-bottom:16px;margin-top:0}.bibliotron-exercise .perseus-hint-renderer.last-hint{margin-bottom:32px}@media (max-width:767px){.bibliotron-exercise .perseus-hint-renderer.last-hint{margin-bottom:0}}.perseus-hint-label{color:#00457c;display:none;font-weight:600;margin-right:13px;position:absolute;right:100%;white-space:nowrap}.perseus-domain-science .perseus-hint-label{color:#9e034e}.perseus-domain-math .perseus-hint-label{color:#007d96}.perseus-domain-economics .perseus-hint-label{color:#a75a05}.perseus-domain-partner .perseus-hint-label{color:#208170}.perseus-domain-humanities .perseus-hint-label{color:#be2612}.perseus-domain-test-prep .perseus-hint-label{color:#543b78}.perseus-domain-cs .perseus-hint-label{color:#0d923f}.bibliotron-exercise .perseus-hint-renderer.last-rendered .perseus-hint-label{display:block}@media (max-width:767px){.bibliotron-exercise .perseus-hint-renderer.last-rendered .perseus-hint-label{display:none}}.framework-perseus .perseus-formats-tooltip .paragraph,.framework-perseus .tooltipContainer .perseus-formats-tooltip .paragraph ul{margin:0}.perseus-math-input.mq-editable-field.mq-math-mode{background-color:transparent;border:unset;font-size:18px;min-width:100px}.perseus-math-input.mq-editable-field.mq-math-mode.mq-focused{box-shadow:unset}.perseus-math-input.mq-editable-field.mq-math-mode>.mq-root-block{padding:4px}.perseus-math-input.mq-editable-field.mq-math-mode .mq-cursor{padding-left:0}.perseus-math-input.mq-editable-field.mq-math-mode .mq-paren.mq-ghost{color:inherit}.perseus-math-input.mq-editable-field.mq-math-mode .mq-paren+span{margin:0}.perseus-math-input.mq-editable-field.mq-math-mode .mq-binary-operator{font-family:KaTeX_Main!important}.perseus-math-input.mq-editable-field.mq-math-mode sup{line-height:normal}.perseus-widget-editor .perseus-math-input.mq-editable-field.mq-math-mode>.mq-root-block{border-radius:0}.math-input-buttons{background-color:hsla(0,0%,100%,.7);border:1px solid #ddd;border-radius:5px;box-sizing:border-box;margin-top:5px;padding:2px;width:201px}.math-input-buttons.absolute{left:-2px;position:absolute;top:-3px;z-index:5}.tex-button{background-color:#fff;border:1px solid #1c758a;border-radius:5px;display:block;float:left;height:35px;margin:2px;width:35px}.tex-button:hover{background-color:#f0f0f0;cursor:pointer}.tex-button:focus{border:2px solid #1c758a;outline:none}.tex-button-row{margin:5px 0}.tex-button-row:first-child{margin-top:0}.tex-button-row:last-child{margin-bottom:0}.renderer-widget-error{background-color:#fcc}.perseus-error{background:#ffbaba;border:2px solid red;border-radius:5px;margin:15px 0 10px;padding:20px}@media (max-width:767px){.perseus-renderer-responsive{margin:0 16px}.perseus-renderer-responsive .perseus-renderer-responsive{margin:0}.perseus-mobile .perseus-block-math{font-size:18px}}.perseus-widget-editor-content .perseus-editor-accordion h2{padding-top:0}.MafsView .protractor-rotation-handle{cursor:grab;pointer-events:all;transition:transform .15s ease-out}.MafsView .protractor-rotation-handle:hover{transform:scale(1.2)}.MafsView .protractor-rotation-handle-arrow-arc{fill:none;stroke:var(--mafs-blue);stroke-width:8;stroke-linecap:square}.MafsView .protractor-rotation-handle-arrowhead{fill:var(--mafs-blue);stroke:none}.MafsView{--mafs-bg:#000;--mafs-fg:#fff;--mafs-origin-color:var(--mafs-fg);--mafs-line-color:#555;--mafs-line-stroke-dash-style:4,3;--mafs-axis-stroke-width:1px;--grid-line-subdivision-color:#222;--mafs-red:#f11d0e;--mafs-orange:#f14e0e;--mafs-yellow:#ffe44a;--mafs-green:#15e272;--mafs-blue:#58a6ff;--mafs-indigo:#7c58ff;--mafs-violet:#ae58ff;--mafs-pink:#ee00ab;background:var(--mafs-bg);display:block;font-family:inherit;font-variant-numeric:tabular-nums;outline:0;overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none}.MafsView text{fill:var(--mafs-fg);cursor:default}.MafsView path{stroke:var(--mafs-fg)}.MafsView:focus-visible{border-radius:5px;outline:3px solid #58a6ff}@supports not selector(:focus-visible){.MafsView:focus{border-radius:5px;outline:3px solid #58a6ff}}.mafs-shadow{stroke-width:3px;stroke:var(--mafs-bg);stroke-opacity:.75;stroke-linejoin:round;paint-order:stroke}.mafs-movable-point{cursor:grab;touch-action:none}.mafs-movable-point-dragging{cursor:grabbing}.mafs-movable-point:focus{outline:0}.mafs-movable-point *{fill:none;stroke:none}.mafs-movable-point-hitbox{fill:transparent}.mafs-movable-point-focus{stroke:var(--movable-point-color);stroke-width:2;stroke-opacity:0;fill:none;transition:stroke-opacity .2s ease}.mafs-movable-point-ring{fill:var(--movable-point-color);fill-opacity:.25;stroke:none;transition:r .2s ease}.mafs-movable-point-point{fill:var(--movable-point-color);transition:r .2s ease}.mafs-movable-point:focus-visible .mafs-movable-point-point,.mafs-movable-point:hover .mafs-movable-point-point{r:calc(var(--movable-point-ring-size) - 2px)}.mafs-movable-point:focus-visible .mafs-movable-point-ring,.mafs-movable-point:hover .mafs-movable-point-ring{r:calc(var(--movable-point-ring-size) + 3px)}.mafs-movable-point.mafs-movable-point-dragging .mafs-movable-point-ring{r:var(--movable-point-ring-size)}.mafs-movable-point:focus-visible .mafs-movable-point-focus{stroke-opacity:1}.MafsView{--mafs-bg:transparent;--mafs-fg:#21242c;--mafs-line-color:rgba(33,36,44,.16);--mafs-axis-stroke-width:2px;--mafs-blue:#1865f2;--mafs-red:#d92916;--mafs-green:#00a60e;--mafs-violet:#9059ff;--mafs-yellow:#ffb100;--static-gray:#909296;--movable-point-color:var(--mafs-blue);--movable-point-center-radius:6px;--movable-point-ring-radius:calc(2px + var(--movable-point-center-radius));--movable-point-halo-radius:calc(3px + var(--movable-point-ring-radius));--movable-point-hover-expansion:2px;--movable-point-focus-ring-offset:2px;--movable-line-stroke-weight:2px;--movable-line-stroke-weight-active:4px;overflow:visible!important}.MafsView>svg{display:block;overflow:visible}.MafsView .movable-line:hover,.movable-dragging{--movable-line-stroke-weight:var(--movable-line-stroke-weight-active)}.MafsView .movable-line:focus,.movable-polygon:focus{outline:none}.MafsView .movable-line :is(.movable-line-focus-outline,.movable-line-focus-outline-gap){stroke:transparent}.MafsView .movable-line:focus-visible .movable-line-focus-outline{stroke:var(--mafs-blue);stroke-width:10px}.MafsView .movable-line:focus-visible .movable-line-focus-outline-gap{stroke:#fff;stroke-width:6px}.MafsView .movable-point{cursor:grab;outline:none;touch-action:none}.MafsView .movable-point.movable-point--dragging{cursor:grabbing}.MafsView .movable-point.movable-point--dragging .movable-point-halo{opacity:0}.MafsView .movable-point-hitbox{fill:transparent}.MafsView :is(.movable-point-center,.movable-point-ring,.movable-point-halo,.movable-point-focus-outline){transition:r .15s ease-out,opacity .15s ease-out}.MafsView .movable-point-center{r:var(--movable-point-center-radius)}.MafsView .movable-point-halo{r:var(--movable-point-halo-radius);fill:var(--movable-point-color);filter:drop-shadow(0 5px 5px #0008);opacity:.25}.MafsView .movable-point-ring{r:var(--movable-point-ring-radius);fill:#fff}.MafsView .movable-point:hover .movable-point-center{r:calc(var(--movable-point-hover-expansion) + var(--movable-point-center-radius))}.MafsView .movable-point:hover .movable-point-ring{r:calc(var(--movable-point-hover-expansion) + var(--movable-point-ring-radius))}.MafsView .movable-point:hover .movable-point-halo{r:calc(var(--movable-point-hover-expansion) + var(--movable-point-halo-radius))}.MafsView .movable-point .movable-point-focus-outline{r:calc(var(--movable-point-halo-radius) + var(--movable-point-focus-ring-offset));stroke-width:2px;fill:none;stroke:var(--mafs-blue);visibility:hidden}.MafsView .movable-point:hover .movable-point-focus-outline{r:calc(var(--movable-point-hover-expansion) + var(--movable-point-halo-radius) + var(--movable-point-focus-ring-offset))}.MafsView .movable-point__focusable-handle:focus-visible{outline:none}.MafsView .movable-point:is(:focus,.movable-point--focus) .movable-point-focus-outline{visibility:visible}.MafsView .movable-circle{cursor:grab}.MafsView .movable-circle .circle{stroke-width:2px;fill:transparent}.MafsView .movable-circle:hover .circle{fill:var(--mafs-blue);fill-opacity:.16}.MafsView .movable-circle.movable-circle--dragging{cursor:grabbing;outline:none}.MafsView .movable-circle .focus-ring{stroke:var(--mafs-blue);stroke-width:2px;fill:transparent;visibility:hidden}.MafsView .movable-circle:focus{outline:none}.MafsView .movable-circle:focus-visible .focus-ring{visibility:visible}.MafsView .movable-circle .movable-circle-handle{stroke:#fff;stroke-width:2px}.MafsView .movable-circle .movable-circle-handle-dot{fill:#fff;r:1.25px}@font-face{font-family:Mafs-MJXTEX;src:url(https://cdn.kastatic.org/fonts/mathjax/MathJax_Main-Regular.woff) format("woff")}.MafsView pattern g{stroke:rgba(33,36,44,.32)}.MafsView .angle-arc-interactive{stroke:var(--mafs-blue);stroke-width:.1px}.MafsView .angle-arc-static{stroke:var(--static-gray);stroke-width:.1px}.MafsView .axis-tick-label{stroke:#fff;stroke-width:5px;font-family:KaTeX_Main,Mafs-MJXTEX,sans-serif;paint-order:stroke fill}.MafsView .axis-tick{stroke:#000;stroke-width:1px}.mafs-sr-only{height:0;overflow:hidden;width:0}
1
+ .framework-perseus code{font-family:Courier,monospace}.framework-perseus pre{background-color:#f0f1f2;border-radius:4px;color:#21242c;font-size:18px;overflow:auto;padding:16px;white-space:pre}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container:not(.perseus-widget__definition){font-size:14px;line-height:19.6px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container.widget-float-left,.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container.widget-float-right{max-width:50%;padding-top:32px;width:100%}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container.widget-float-left .perseus-image-caption .paragraph .paragraph,.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container.widget-float-right .perseus-image-caption .paragraph .paragraph{margin-bottom:0}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container.widget-float-left{float:left;padding-right:32px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-widget-container.widget-float-right{float:right;padding-left:32px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph{color:#21242c;font-size:20px;line-height:30px;margin:0 auto;max-width:688px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph .paragraph{color:#21242c;font-size:20px;line-height:30px;margin-bottom:32px;margin-top:0}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph mjx-container{font-size:100%}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph ul:not(.perseus-widget-radio){color:#21242c;font-size:20px;line-height:30px}.framework-perseus.perseus-article:not(.perseus-mobile) table{color:#21242c;font-size:20px;line-height:30px;margin-bottom:32px}.framework-perseus.perseus-article:not(.perseus-mobile) h2{font-family:inherit;font-size:30px;font-weight:700;line-height:1.1;margin-bottom:16px;margin-top:48px}.framework-perseus.perseus-article:not(.perseus-mobile) h3{font-family:inherit;font-size:26px;font-weight:700;line-height:1.1;margin-bottom:16px;margin-top:32px}.framework-perseus.perseus-article:not(.perseus-mobile) h4,.framework-perseus.perseus-article:not(.perseus-mobile) h5,.framework-perseus.perseus-article:not(.perseus-mobile) h6{font-family:inherit;font-size:22px;font-weight:700;line-height:25px;margin-bottom:16px;margin-top:32px}.framework-perseus.perseus-article:not(.perseus-mobile) blockquote{padding:0 32px}.framework-perseus.perseus-article:not(.perseus-mobile) .MathJax .math{color:inherit}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-image-caption .perseus-renderer .paragraph .paragraph,.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-image-caption .perseus-renderer .paragraph ol,.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-image-caption .perseus-renderer .paragraph ul{color:rgba(33,36,44,.64);font-size:14px;line-height:19px;margin:16px auto 42px;text-align:left}.framework-perseus.perseus-article:not(.perseus-mobile) .paragraph.perseus-paragraph-full-width{margin-bottom:32px;margin-left:0;margin-right:0;max-width:none}.framework-perseus.perseus-article:not(.perseus-mobile) .paragraph.perseus-paragraph-full-width>.paragraph{margin:0;max-width:none}.framework-perseus.perseus-article:not(.perseus-mobile) .svg-image,.framework-perseus.perseus-article:not(.perseus-mobile) .unresponsive-svg-image{font-size:14px;line-height:19.6px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-block-math{margin-bottom:32px;position:relative}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-block-math:before{bottom:0;content:"";position:absolute;right:0;top:0;width:30px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-block-math-inner{overflow-x:auto;padding-bottom:8px;padding-right:20px;padding-top:8px}.framework-perseus.perseus-article:not(.perseus-mobile)>.clearfix:first-child>.perseus-renderer:first-child>.paragraph:first-child h1:first-child,.framework-perseus.perseus-article:not(.perseus-mobile)>.clearfix:first-child>.perseus-renderer:first-child>.paragraph:first-child h2:first-child,.framework-perseus.perseus-article:not(.perseus-mobile)>.clearfix:first-child>.perseus-renderer:first-child>.paragraph:first-child h3:first-child,.framework-perseus.perseus-article:not(.perseus-mobile)>.clearfix:first-child>.perseus-renderer:first-child>.paragraph:first-child h4:first-child,.framework-perseus.perseus-article:not(.perseus-mobile)>.clearfix:first-child>.perseus-renderer:first-child>.paragraph:first-child h5:first-child,.framework-perseus.perseus-article:not(.perseus-mobile)>.clearfix:first-child>.perseus-renderer:first-child>.paragraph:first-child h6:first-child{margin-top:0}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph .perseus-formats-tooltip{padding:8px 12px}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph .perseus-formats-tooltip .paragraph{margin-bottom:0}.framework-perseus.perseus-article:not(.perseus-mobile) .perseus-renderer>.paragraph .perseus-formats-tooltip .paragraph ul:not(.perseus-widget-radio){font-size:15px;line-height:1.5;margin:0}.framework-perseus.perseus-article:not(.perseus-mobile) pre{margin:0 -16px 32px}.framework-perseus:not(.perseus-article):not(.perseus-mobile) .perseus-radio-option-content .perseus-renderer>.paragraph,.framework-perseus:not(.perseus-article):not(.perseus-mobile) .perseus-radio-option-content .perseus-renderer>.paragraph .paragraph,.framework-perseus:not(.perseus-article):not(.perseus-mobile) .perseus-radio-rationale-content .perseus-renderer>.paragraph,.framework-perseus:not(.perseus-article):not(.perseus-mobile) .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph{color:#21242c;font-family:inherit;font-size:14px;line-height:1.25}.framework-perseus:not(.perseus-article):not(.perseus-mobile) .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph mjx-container{color:#21242c}.framework-perseus.perseus-mobile .perseus-article .perseus-widget-container.widget-float-left{float:left;max-width:50%;padding-right:1em;width:100%}.framework-perseus.perseus-mobile .perseus-article .perseus-widget-container.widget-float-right{float:right;max-width:50%;padding-left:1em;width:100%}.framework-perseus.perseus-mobile .perseus-article .perseus-renderer>.paragraph{margin-left:auto;margin-right:auto;max-width:700px}.framework-perseus.perseus-mobile .perseus-article .paragraph.perseus-paragraph-full-width{margin-left:0;margin-right:0;max-width:none}.framework-perseus.perseus-mobile .perseus-article .paragraph.perseus-paragraph-full-width>.paragraph{margin:0;max-width:none}.framework-perseus.perseus-mobile :not(blockquote)>div.paragraph{margin:0}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph{margin:0 auto}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph:not(:first-child){margin-top:32px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph>.paragraph{margin:0}.framework-perseus.perseus-mobile .clearfix>.perseus-renderer{margin-bottom:32px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio,.indicatorContainer){margin:0 0 0 1em;padding:0}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio,.indicatorContainer)>li{margin-bottom:24px;padding-left:10px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol{margin:0;padding-left:32px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol>li{list-style-type:decimal;margin-bottom:24px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol ol,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol ul:not(.perseus-widget-radio),.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio) ol,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio) ul:not(.perseus-widget-radio){padding-top:24px}.framework-perseus.perseus-mobile .perseus-block-math{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}@media (max-width:767px){.framework-perseus.perseus-mobile .perseus-renderer>.paragraph{max-width:none}.framework-perseus.perseus-mobile h1{color:#21242c;font-family:inherit;font-size:24px;font-weight:700;line-height:1.2;padding-top:0}.framework-perseus.perseus-mobile h2{color:#3b3e40;font-family:inherit;font-size:24px;font-weight:700;line-height:1.2;padding-top:16px}.framework-perseus.perseus-mobile h3,.framework-perseus.perseus-mobile h4{color:#626569;font-family:inherit;font-size:22px;font-weight:700;line-height:1.1;padding-top:0}.framework-perseus.perseus-mobile .default-body-text,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio),.framework-perseus.perseus-mobile blockquote{color:#626569;font-family:inherit;font-size:18px;line-height:1.4}.framework-perseus.perseus-mobile blockquote{color:#888d93}.framework-perseus.perseus-mobile table{color:#626569;font-family:inherit;font-size:18px;line-height:1.4}.framework-perseus.perseus-mobile .perseus-radio-option-content .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-radio-option-content .perseus-renderer>.paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph{color:#21242c;font-family:inherit;font-size:16px;line-height:1.25}.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph mjx-container{color:#21242c}.framework-perseus.perseus-mobile .perseus-image-caption .paragraph .paragraph{color:#888d93;font-size:14px;line-height:1.3;text-align:left}.framework-perseus.perseus-mobile .perseus-image-caption.has-title .paragraph .paragraph strong:first-child{color:#3b3e40}.framework-perseus.perseus-mobile mjx-container:not(.mafs-graph *){color:#21242c;font-size:21px;line-height:1.2}.framework-perseus.perseus-mobile .perseus-block-math mjx-container{font-size:21px;line-height:1.5}.framework-perseus.perseus-mobile .graphie-label mjx-container{font-size:1.21em;line-height:1.2}.framework-perseus.perseus-mobile code{font-family:Courier,monospace}.framework-perseus.perseus-mobile pre{background-color:#f0f1f2;border-radius:4px;color:#21242c;font-size:18px;line-height:1.6;overflow:auto;padding:16px;white-space:pre}.framework-perseus.perseus-mobile blockquote{border-left:4px solid #d8d8d8;padding:0 0 0 18px}}@media (min-width:768px) and (max-width:1199px){.framework-perseus.perseus-mobile .perseus-renderer>.paragraph{max-width:512px}.framework-perseus.perseus-mobile h1{color:#21242c;font-family:inherit;font-size:30px;font-weight:700;line-height:1.1;padding-top:0}.framework-perseus.perseus-mobile h2{color:#3b3e40;font-family:inherit;font-size:30px;font-weight:700;line-height:1.1;padding-top:32px}.framework-perseus.perseus-mobile h3,.framework-perseus.perseus-mobile h4{color:#626569;font-family:inherit;font-size:28px;font-weight:700;line-height:1.1;padding-top:16px}.framework-perseus.perseus-mobile .default-body-text,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio),.framework-perseus.perseus-mobile blockquote{color:#626569;font-family:inherit;font-size:20px;line-height:1.5}.framework-perseus.perseus-mobile blockquote{color:#888d93}.framework-perseus.perseus-mobile table{color:#626569;font-family:inherit;font-size:20px;line-height:1.5}.framework-perseus.perseus-mobile .perseus-radio-option-content .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-radio-option-content .perseus-renderer>.paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph{color:#21242c;font-family:inherit;font-size:18px;line-height:1.25}.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph mjx-container{color:#21242c}.framework-perseus.perseus-mobile .perseus-image-caption .paragraph .paragraph{color:#888d93;font-size:17px;line-height:1.4;text-align:left}.framework-perseus.perseus-mobile .perseus-image-caption.has-title .paragraph .paragraph strong:first-child{color:#3b3e40}.framework-perseus.perseus-mobile mjx-container:not(.mafs-graph *){color:#21242c;font-size:23px;line-height:1.3}.framework-perseus.perseus-mobile .perseus-block-math mjx-container{font-size:30px;line-height:1.3}.framework-perseus.perseus-mobile .graphie-label mjx-container{font-size:1.21em;line-height:1.2}.framework-perseus.perseus-mobile code{font-family:Courier,monospace}.framework-perseus.perseus-mobile pre{background-color:#f0f1f2;border-radius:4px;color:#21242c;font-size:18px;line-height:1.6;overflow:auto;padding:16px;white-space:pre}.framework-perseus.perseus-mobile blockquote{border-left:4px solid #d8d8d8;padding:0 0 0 20px}}@media (min-width:1200px){.framework-perseus.perseus-mobile .perseus-renderer>.paragraph{max-width:688px}.framework-perseus.perseus-mobile h1{color:#21242c;font-family:inherit;font-size:35px;font-weight:700;line-height:1.1;padding-top:0}.framework-perseus.perseus-mobile h2{color:#3b3e40;font-family:inherit;font-size:35px;font-weight:700;line-height:1.1;padding-top:32px}.framework-perseus.perseus-mobile h3,.framework-perseus.perseus-mobile h4{color:#626569;font-family:inherit;font-size:30px;font-weight:700;line-height:1.1;padding-top:16px}.framework-perseus.perseus-mobile .default-body-text,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ol,.framework-perseus.perseus-mobile .perseus-renderer>.paragraph ul:not(.perseus-widget-radio),.framework-perseus.perseus-mobile blockquote{color:#626569;font-family:inherit;font-size:22px;line-height:1.4}.framework-perseus.perseus-mobile blockquote{color:#888d93}.framework-perseus.perseus-mobile table{color:#626569;font-family:inherit;font-size:22px;line-height:1.4}.framework-perseus.perseus-mobile .perseus-radio-option-content .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-radio-option-content .perseus-renderer>.paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph,.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph{color:#21242c;font-family:inherit;font-size:20px;line-height:1.25}.framework-perseus.perseus-mobile .perseus-radio-rationale-content .perseus-renderer>.paragraph .paragraph mjx-container{color:#21242c}.framework-perseus.perseus-mobile .perseus-image-caption .paragraph .paragraph{color:#888d93;font-size:20px;line-height:1.4;text-align:left}.framework-perseus.perseus-mobile .perseus-image-caption.has-title .paragraph .paragraph strong:first-child{color:#3b3e40}.framework-perseus.perseus-mobile mjx-container:not(.mafs-graph *){color:#21242c;font-size:25px;line-height:1.2}.framework-perseus.perseus-mobile .perseus-block-math mjx-container{font-size:30px;line-height:1.3}.framework-perseus.perseus-mobile .graphie-label mjx-container{font-size:1.21em;line-height:1.2}.framework-perseus.perseus-mobile code{font-family:Courier,monospace}.framework-perseus.perseus-mobile pre{background-color:#f0f1f2;border-radius:4px;color:#21242c;font-size:18px;line-height:1.6;overflow:auto;padding:16px;white-space:pre}.framework-perseus.perseus-mobile blockquote{border-left:5px solid #d8d8d8;padding:0 0 0 20px}}.framework-perseus.perseus-mobile .perseus-widget-container{font-size:14px;line-height:19.6px}.framework-perseus.perseus-mobile .perseus-widget-container.widget-float-left,.framework-perseus.perseus-mobile .perseus-widget-container.widget-float-right{max-width:50%;padding-top:32px;width:100%}.framework-perseus.perseus-mobile .perseus-widget-container.widget-float-left .perseus-image-caption .paragraph .paragraph,.framework-perseus.perseus-mobile .perseus-widget-container.widget-float-right .perseus-image-caption .paragraph .paragraph{margin-bottom:0}.framework-perseus.perseus-mobile .perseus-widget-container.widget-float-left{float:left;padding-right:32px}.framework-perseus.perseus-mobile .perseus-widget-container.widget-float-right{float:right;padding-left:32px}.framework-perseus.perseus-mobile .MathJax .math{color:inherit}.framework-perseus.perseus-mobile .perseus-image-widget{text-align:center}.framework-perseus.perseus-mobile .perseus-block-math{padding-bottom:16px;padding-top:16px}.framework-perseus.perseus-mobile .paragraph.perseus-paragraph-full-width{margin-left:0;margin-right:0;max-width:none}.framework-perseus.perseus-mobile .paragraph.perseus-paragraph-full-width>.paragraph{margin:0;max-width:none}.framework-perseus.perseus-mobile .svg-image,.framework-perseus.perseus-mobile .unresponsive-svg-image{font-size:14px;line-height:19.6px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph .perseus-formats-tooltip{padding:8px 12px}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph .perseus-formats-tooltip .paragraph{margin-bottom:0}.framework-perseus.perseus-mobile .perseus-renderer>.paragraph .perseus-formats-tooltip .paragraph ul:not(.perseus-widget-radio){font-size:15px;line-height:1.5;margin:0}:root{--perseus-zoom-overlay-z-index:9000}.zoomable{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in}.zoom-img{background-color:#fff;position:absolute;z-index:calc(var(--perseus-zoom-overlay-z-index) + 1)}img.zoom-img{cursor:pointer;cursor:-webkit-zoom-out;cursor:-moz-zoom-out}.zoom-transition{transition:transform .3s ease}.zoom-overlay{bottom:0;left:0;overflow:scroll;position:fixed;right:0;top:0;z-index:var(--perseus-zoom-overlay-z-index)}.zoom-overlay-open,.zoom-overlay-transitioning{cursor:default}.zoom-overlay-open{height:100%;max-height:100%;overflow:hidden}.zoom-backdrop{background:#fff;bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;transition:opacity .3s;z-index:calc(var(--perseus-zoom-overlay-z-index) - 1)}.zoom-overlay-open>.zoom-backdrop{opacity:.9}#perseus{position:relative}.framework-perseus.perseus-mobile{margin-top:48px}.no-select{-webkit-user-select:none;user-select:none}.blank-background{background-color:#fdfdfd}.graphie{-webkit-user-select:none;user-select:none}.graphie svg{left:0;position:absolute;top:0}div.graphie,var{font-size:14px;white-space:pre}.hint.last-hint .paragraph{font-weight:700}#answercontent input[type=number].perseus-input-size-normal,#answercontent input[type=text].perseus-input-size-normal,.framework-perseus input[type=number].perseus-input-size-normal,.framework-perseus input[type=text].perseus-input-size-normal{border:1px solid #ccc;width:80px}#answercontent input[type=number].perseus-input-size-small,#answercontent input[type=text].perseus-input-size-small,.framework-perseus input[type=number].perseus-input-size-small,.framework-perseus input[type=text].perseus-input-size-small{border:1px solid #ccc;width:40px}#answercontent input[type=number].perseus-input-right-align,#answercontent input[type=text].perseus-input-right-align,.framework-perseus input[type=number].perseus-input-right-align,.framework-perseus input[type=text].perseus-input-right-align,.framework-perseus.perseus-mobile .perseus-input-right-align .keypad-input{text-align:right}.framework-perseus div.paragraph{font-family:Lato,sans-serif;font-size:18px;font-weight:400;line-height:22px;margin:22px 0}.framework-perseus .test-prep-blurb div.paragraph{font-size:16px;line-height:20px}.framework-perseus div.instructions{display:block;font-family:"Noto Serif",serif;font-size:18px;font-style:italic;font-weight:800;line-height:22px}.framework-perseus .perseus-renderer>.paragraph>ol,.framework-perseus .perseus-renderer>.paragraph>ul:not(.perseus-widget-radio){margin:0 0 22px}.framework-perseus .paragraph ul:not(.perseus-widget-radio,.indicatorContainer){list-style-type:disc;padding-left:35px}.framework-perseus .paragraph ol{list-style:decimal;padding-left:2em}.framework-perseus blockquote{padding:0 2.5em}.framework-perseus .zoomable{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}.framework-perseus sup:not(.mq-non-leaf){font-size:smaller;line-height:0;vertical-align:super}.framework-perseus .range-input{border:1px solid #ccc;border-radius:5px;display:inline-block;padding:0 5px}.framework-perseus .range-input>input{border:0;display:inline;text-align:center;width:30px}.framework-perseus .range-input>span{color:#999;font-size:14px}.framework-perseus .number-input{border:1px solid #909296;border-radius:5px;margin:0;padding:5px 0;text-align:center;width:40px}.framework-perseus .number-input.invalid-input{background-color:#ffbaba;outline-color:red}.framework-perseus .number-input.mini{width:40px}.framework-perseus .number-input.small{width:60px}.framework-perseus .number-input.normal{width:80px}.framework-perseus .graph-settings .graph-settings-axis-label{border:1px solid #ccc;border-radius:5px;display:inline-block;float:right;margin:0 5px;padding:5px;width:70px}.framework-perseus .graph-settings .graph-settings-background-url{width:250px}.framework-perseus .graphie-container{position:relative}.framework-perseus .graph-settings,.framework-perseus .image-settings,.framework-perseus .misc-settings{padding-bottom:5px}.framework-perseus .misc-settings,.framework-perseus .type-settings{border-top:1px solid #000;padding-top:5px}.framework-perseus .svg-image{display:block;margin:0 auto;margin-inline-end:auto;margin-inline-start:auto}.framework-perseus .perseus-rendered-radio .unresponsive-svg-image,.framework-perseus .unresponsive-svg-image{display:inline-block;position:relative}.framework-perseus .perseus-rendered-radio .unresponsive-svg-image>.graphie-container,.framework-perseus .unresponsive-svg-image>.graphie-container{left:0;position:absolute;top:0}.framework-perseus .fixed-to-responsive{position:relative;width:100%}.framework-perseus .fixed-to-responsive>:not(:first-child){height:100%;left:0;position:absolute;top:0;width:100%}.framework-perseus:not(.perseus-mobile) table{font-size:14px;line-height:19.6px}.framework-perseus:not(.perseus-mobile) table td,.framework-perseus:not(.perseus-mobile) table th{padding:5px 10px;text-align:left}.framework-perseus:not(.perseus-mobile) table td[align=center],.framework-perseus:not(.perseus-mobile) table th[align=center]{text-align:center}.framework-perseus:not(.perseus-mobile) table td[align=right],.framework-perseus:not(.perseus-mobile) table th[align=right]{text-align:right}.framework-perseus:not(.perseus-mobile) table th{border-bottom:2px solid #ccc;font-weight:700;padding-bottom:2px}.framework-perseus:not(.perseus-mobile) table tr:nth-child(odd) td{background-color:#f7f8fa}.framework-perseus:not(.perseus-mobile) .perseus-titled-table{display:inline-block}.framework-perseus:not(.perseus-mobile) .perseus-titled-table table{margin-left:auto;margin-right:auto}.framework-perseus:not(.perseus-mobile) .perseus-table-title{font-size:larger;text-align:center}.framework-perseus:not(.perseus-mobile) table.non-markdown tr:nth-child(odd) td{background-color:transparent}.framework-perseus:not(.perseus-mobile) table.non-markdown td,.framework-perseus:not(.perseus-mobile) table.non-markdown th{border-width:0}.framework-perseus.perseus-mobile table{border-collapse:collapse;margin:0 auto}.framework-perseus.perseus-mobile table tbody>tr{border:1px solid #e5e5e5}.framework-perseus.perseus-mobile table td,.framework-perseus.perseus-mobile table th{padding:16px;text-align:left}.framework-perseus.perseus-mobile table td[align=center],.framework-perseus.perseus-mobile table th[align=center]{text-align:center}.framework-perseus.perseus-mobile table td[align=right],.framework-perseus.perseus-mobile table th[align=right]{text-align:right}.framework-perseus.perseus-mobile table td{background:#fff}.framework-perseus.perseus-mobile table th{font-weight:700}@media (max-width:767px){.framework-perseus.perseus-mobile table{min-width:480px;width:100%}.framework-perseus.perseus-mobile table tbody>tr{border-left:0;border-right:0}}.framework-perseus.perseus-mobile .perseus-titled-table{display:inline-block}.framework-perseus.perseus-mobile .perseus-table-title{font-size:larger;text-align:center}.perseus-graph-padding{box-sizing:content-box;padding:25px 25px 0 0}.perseus-article .perseus-dropdown .perseus-renderer .paragraph,.perseus-article .perseus-dropdown .perseus-renderer .perseus-block-math{font-size:18px!important;margin-bottom:0!important}.categorizer-container{margin-top:20px}.categorizer-container div.paragraph{margin:10px 0}.categorizer-container .category{text-align:center}.categorizer-container table{min-width:0}body.mobile .categorizer-container td.category input[type=radio]:checked+span:before{color:#1c758a}body.mobile .categorizer-container td.category input[type=radio]+span:active:before{color:#666;content:"\f111"}.perseus-widget-dropdown,.perseus-widget-expression{position:relative}.perseus-widget-expression .error-tooltip,.perseus-widget-expression>span{display:inline-block;vertical-align:middle}.perseus-widget-expression .error-tooltip{position:absolute;right:6px;top:-2px}.perseus-widget-expression .error-icon{color:#fcc335;cursor:pointer;font-size:20px}.perseus-widget-expression .error-text{background-color:#fff;padding:5px;width:210px}.perseus-widget-expression .perseus-formats-tooltip{width:190px}.framework-perseus{.free-response .free-response-question{.paragraph{font-weight:700}:nth-child(1 of .paragraph){margin-top:0}:nth-last-child(1 of .paragraph){margin-bottom:0}}}.perseus-widget-grapher>.graphie-container{position:relative}.perseus-widget-grapher>.graphie-container .svg-image,.perseus-widget-grapher>.graphie-container>img{position:absolute}.framework-perseus .perseus-graded-group{margin-left:3px;padding-left:5px;position:relative;width:100%}.framework-perseus .perseus-graded-group.answer-correct{border-left:3px solid #76a005;margin-left:0}.framework-perseus .perseus-graded-group.answer-incorrect{border-left:3px solid #ff8787;margin-left:0}.framework-perseus .perseus-graded-group .group-icon{font-size:14px;left:-30px;position:absolute;text-align:center;top:50%;top:calc(50% - 7px);width:16px}.framework-perseus .perseus-group{position:relative;width:100%}.framework-perseus .perseus-group .group-icon{font-size:14px;margin-left:-20px;position:absolute;top:50%;top:calc(50% - 7px)}.perseus-image-widget .perseus-image-title{text-align:center}.perseus-image-widget .perseus-image-caption{color:rgba(33,36,44,.7);padding-left:16px;position:relative}.perseus-image-widget .perseus-image-caption:before{background-color:rgba(33,36,44,.5);border:1px solid rgba(33,36,44,.5);border-radius:2px;bottom:0;content:"";left:0;margin-left:4px;position:absolute;top:0;width:1px}.perseus-image-widget .perseus-image-caption .paragraph{font-size:14px;padding-right:12px}.perseus-image-editor .label-settings td{padding:5px 4px;text-align:center}.perseus-image-editor .label-settings tr:nth-child(odd) td{background-color:transparent}.perseus-image-editor .label-settings td,.perseus-image-editor .label-settings th{border-width:0}.perseus-image-editor .graph-settings,.perseus-image-editor .image-settings{margin-top:5px}.perseus-image-widget{margin-inline-end:auto;margin-inline-start:auto}.perseus-hint-renderer .perseus-image-widget,.perseus-hint-renderer .svg-image{margin-inline-start:0}.perseus-widget-interactive-graph>.graphie-container{position:relative}.perseus-widget-interactive-graph>.graphie-container>.unresponsive-svg-image,.perseus-widget-interactive-graph>.graphie-container>img{bottom:0;left:0;position:absolute}.perseus-mobile .tooltip.visible{z-index:2}.perseus-mobile .tooltip.visible .tooltip-content:before{border:solid;border-color:#fff transparent;border-width:10px 10px 0;bottom:-10px;content:"";left:50%;position:absolute;transform:translateX(-50%);z-index:2}.perseus-mobile .tooltip .tooltip-content{display:none}.perseus-mobile .tooltip.visible .tooltip-content{background-color:#fff;border-radius:5px;bottom:50px;display:inline-block;left:50%;min-width:30px;padding:5px;position:absolute;text-align:center;transform:translateX(-50%);white-space:nowrap}.perseus-mobile .tooltip.visible .tooltip-content mjx-container{color:#71b307!important}.perseus-mobile .graphie-label mjx-container{color:inherit!important}.framework-perseus .perseus-label-image-widget-instructions div.paragraph{margin:0}@media (max-width:767px){.framework-perseus.perseus-mobile [id*=perseus-label-image-widget-answer-pill] mjx-container,[id*=perseus-label-image-widget-answer-pill]>div.perseus-renderer-responsive{all:revert}}.framework-perseus:not(.perseus-article).perseus-mobile .perseus-label-image-widget-instructions{color:initial}.framework-perseus:not(.perseus-article).perseus-mobile .perseus-label-image-widget-instructions .perseus-renderer .paragraph>.paragraph{color:initial!important;font-size:medium!important;line-height:normal!important}.framework-perseus:not(.perseus-article).perseus-mobile .perseus-label-image-widget-instructions .perseus-block-math{padding:0}.framework-perseus:not(.perseus-article).perseus-mobile .perseus-label-image-widget-instructions .perseus-block-math mjx-container{font-size:medium!important;line-height:normal!important}.perseus-label-image-widget-answer-choices .perseus-block-math>.perseus-block-math-inner,.perseus-label-image-widget-instructions .perseus-block-math>.perseus-block-math-inner{overflow-x:hidden!important}.perseus-widget-matcher div.paragraph{margin:0}.perseus-matrix .matrix-prefix,.perseus-matrix .matrix-suffix{display:inline-block;margin:10px 5px 0 10px;vertical-align:top}.perseus-matrix .matrix-suffix{margin:10px 10px 0 5px}.perseus-matrix div.paragraph{margin:0}.perseus-matrix .matrix-input{background:#e2e2e2;display:inline-block;margin:5px;padding:3px;position:relative;width:auto}.perseus-matrix .matrix-row{white-space:nowrap}.perseus-matrix .matrix-bracket{border-bottom:2px solid #666;border-left-color:#666;border-left-style:solid;border-right-color:#666;border-right-style:solid;border-top:2px solid #666;margin-top:-2px;position:absolute;width:6px}.perseus-matrix .matrix-bracket.bracket-left{border-color:#666;border-left-width:2px;border-right-width:0;left:3px}.perseus-matrix .matrix-bracket.bracket-right{border-color:#666;border-left-width:0;border-right-width:2px;margin-left:-3px}.perseus-matrix .number-input,.perseus-matrix input{border:none;border-radius:0;box-sizing:border-box;margin:3px;padding:0;text-align:center}.perseus-matrix .number-input.outside,.perseus-matrix input.outside{background:#f3f3f3}.perseus-matrix .number-input:focus,.perseus-matrix input:focus{border:none;outline:none}.static-mode.perseus-matrix .number-input,.static-mode.perseus-matrix input{background:#f5f5f5}.perseus-matrix.the-matrix .matrix-bracket,.perseus-matrix.the-matrix .matrix-left,.perseus-matrix.the-matrix .matrix-right{border-color:#29f139}.perseus-matrix.the-matrix .matrix-input{background:#222}.perseus-matrix.the-matrix .number-input,.perseus-matrix.the-matrix input{background:#666;color:#29f139;font-weight:700}.perseus-matrix.the-matrix .number-input.outside,.perseus-matrix.the-matrix input.outside{background:#444}body.mobile .perseus-matrix .matrix-input{display:table}body.mobile .perseus-matrix .matrix-row{display:table-row}body.mobile .perseus-matrix .matrix-input-field{display:table-cell}.perseus-matrix-editor .perseus-single-editor{width:338px}.perseus-widget-measurer{position:relative}.perseus-widget-measurer img{position:absolute}.perseus-widget-measurer-url{width:70%}#translations-dashboard .perseus-widget-measurer>.graphie{z-index:-1}.input-with-examples-tooltip{background:#fff;color:#717378;font-size:18px;line-height:28px}.input-with-examples-tooltip ul{list-style-type:disc;margin-left:30px}.input-with-examples-tooltip strong{font-weight:700}.input-with-examples-tooltip em{font-style:italic}.orderer{position:relative}.orderer.layout-horizontal .draggable-box{margin-left:0;margin-top:30px;padding:13px}.orderer .card{cursor:pointer;display:flex;flex-direction:column;justify-content:center;padding:0 10px;position:relative;-webkit-user-select:none;user-select:none;width:auto}.orderer.height-normal.layout-horizontal .card{height:65px}.orderer.height-normal.layout-vertical .card{padding:5px}.orderer.height-auto .card{padding:0}.orderer.height-auto.layout-horizontal .drag-hint{min-height:65px;min-width:22px}.orderer.layout-horizontal .bank{margin:0 13px;padding:0}.orderer div.paragraph{margin:0}.orderer .card-wrap{width:auto}.orderer.layout-horizontal .card-wrap{float:left}.orderer.layout-horizontal .card-wrap:not(:first-child){margin-left:8px}.orderer.layout-vertical .card-wrap{float:none;text-align:center}.orderer.layout-vertical .card-wrap:not(:first-child){margin-top:8px}.orderer.layout-vertical .bank,.orderer.layout-vertical .draggable-box{box-sizing:border-box;float:left;max-width:50%}.orderer.layout-vertical .bank{margin:0;padding:11px 20px 11px 0}.orderer.layout-vertical .draggable-box{margin-top:0;min-height:170px;padding:10px}.orderer.layout-vertical .draggable-box .drag-hint{box-sizing:border-box;min-height:34px;min-width:140px}.orderer.layout-vertical .draggable-box .placeholder{box-sizing:border-box}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-widget-passage,.perseus-widget-passage-container .perseus-widget-passage{line-height:20px;margin:22px;position:relative}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-widget-passage div.paragraph,.perseus-widget-passage-container .perseus-widget-passage div.paragraph{font-family:KaTeX_Main,Times,Times New Roman,serif}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-widget-passage .passage-title div.paragraph,.perseus-widget-passage-container .perseus-widget-passage .passage-title div.paragraph{font-family:"Noto Serif",serif;font-size:20px;font-weight:700;line-height:22px;margin:0 0 10px}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-widget-passage>.passage-text div.paragraph,.perseus-widget-passage-container .perseus-widget-passage>.passage-text div.paragraph{font-size:16px;font-weight:400;line-height:20px;margin:0;text-indent:20px}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-widget-passage>.passage-text div.paragraph span,.perseus-widget-passage-container .perseus-widget-passage>.passage-text div.paragraph span{text-indent:0}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-widget-passage>.passage-text div.paragraph em,.perseus-widget-passage-container .perseus-widget-passage>.passage-text div.paragraph em{line-height:0}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container mjx-container,.perseus-widget-passage-container mjx-container{line-height:18px}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .footnotes,.perseus-widget-passage-container .footnotes{margin-top:22px}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .footnotes div.paragraph,.perseus-widget-passage-container .footnotes div.paragraph{font-size:14px;margin:0}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-highlight,.perseus-widget-passage-container .perseus-highlight{background-color:#fffabe}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-review-highlight,.perseus-widget-passage-container .perseus-review-highlight{background-color:#eee7b2}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-passage-bracket-label,.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-passage-circle-label,.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .perseus-passage-square-label,.perseus-widget-passage-container .perseus-passage-bracket-label,.perseus-widget-passage-container .perseus-passage-circle-label,.perseus-widget-passage-container .perseus-passage-square-label{font-family:Times,Times New Roman,serif;font-size:16px}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .line-numbers,.perseus-widget-passage-container .line-numbers{font-size:12px;font-style:italic;font-weight:600;left:-52px;max-height:100%;overflow:hidden;padding-right:6px;position:absolute;text-align:right;width:37px}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .line-numbers span,.perseus-widget-passage-container .line-numbers span{display:block;line-height:20px;position:relative;top:2px;visibility:hidden}.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .line-numbers .line-marker,.framework-perseus.perseus-article .perseus-renderer .perseus-widget-passage-container .line-numbers span:nth-of-type(5n),.perseus-widget-passage-container .line-numbers .line-marker,.perseus-widget-passage-container .line-numbers span:nth-of-type(5n){visibility:visible}.perseus-widget-passage-editor .perseus-single-editor{font-family:Times,Times New Roman,serif;margin-left:-11px}.perseus-widget-passage-editor .perseus-textarea-pair textarea{font-size:13px;line-height:17px}body.sat-section .perseus-widget-passage{margin-top:0}.perseus-widget-plotter svg,.perseus-widget-plotter vml{position:absolute}.perseus-widget-plotter span.rotate{transform:rotate(-90deg)}.set-from-scale-box{border:2px solid #eee;border-radius:3px;padding:3px}.categories-title{font-size:14px}.perseus-mobile .perseus-widget-plotter{border:.5px solid #babec2;border-radius:4px}.perseus-mobile .perseus-widget-plotter .graphie-label mjx-container{color:#626569}.perseus-sr-only{clip:rect(0,0,0,0);border:0;font-size:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.perseus-clearfix{*zoom:1}.perseus-clearfix:after,.perseus-clearfix:before{content:"";display:table}.perseus-clearfix:after{clear:both}.perseus-widget-radio.perseus-rendered-radio div,.perseus-widget-radio.perseus-rendered-radio div>p{display:inline}.perseus-widget-radio.perseus-rendered-radio .perseus-radio-rationale-content>.perseus-renderer>.paragraph{display:table;margin:0}.perseus-widget-radio.perseus-rendered-radio .perseus-radio-rationale-content>.perseus-renderer>.paragraph:not(:last-child){margin-bottom:8px}.perseus-widget-radio .svg-image div,.perseus-widget-radio .unresponsive-svg-image div{display:block}.perseus-widget-radio li div.instructions{margin-bottom:5px}.perseus-widget-radio li .value{display:block;margin-left:18px;min-height:22px}.perseus-widget-radio li img,.perseus-widget-radio li table{display:inline-block;vertical-align:middle}.perseus-widget-radio li table{border:1px solid #ccc}.perseus-widget-radio .perseus-radio-option .paragraph+.paragraph:has(img:only-child),.perseus-widget-radio .perseus-radio-option .paragraph:has(img:only-child):has(+.paragraph){display:block}.perseus-widget-radio-fieldset .instructions{font-family:Lato,sans-serif}.draggy-boxy-thing .cards-area,.draggy-boxy-thing .draggable-box{background:#eee;border:1px solid;border-color:#ccc #ccc #aaa;box-shadow:0 1px 2px #ccc}.draggy-boxy-thing .card{background-color:#fff;border:1px solid #b9b9b9;border-bottom-color:#939393;border-radius:4px;cursor:pointer;touch-action:none}.draggy-boxy-thing .card.placeholder{background:#ddd;border:1px solid #ccc}.draggy-boxy-thing .card.drag-hint{background:none;border:1px dashed #aaa;cursor:auto}.draggy-boxy-thing .card.drag-hint:hover{border-color:#aaa;box-shadow:none}.draggy-boxy-thing .card.dragging{background-color:#ffedcd;filter:opacity(.8);opacity:.8}.draggy-boxy-thing .card.stack{z-index:auto}.draggy-boxy-thing .card.stack:after{background-color:#fff;border:1px solid #b9b9b9;border-bottom-color:#939393;border-radius:4px;content:" ";height:100%;left:1px;position:absolute;top:1px;width:100%;z-index:-1}.draggy-boxy-thing .card:hover{border-color:orange;box-shadow:0 0 4px #c78100}.perseus-sortable div.paragraph{margin:0}.perseus-sortable .perseus-sortable-draggable:before{content:"";display:inline-block;height:100%;vertical-align:middle}.perseus-sortable .perseus-sortable-draggable>div{display:inline-block;font-size:14px;max-width:100%;vertical-align:middle}.perseus-sortable .perseus-sortable-draggable-unpadded img{vertical-align:bottom}.framework-perseus table.perseus-widget-table-of-values.non-markdown{border-collapse:collapse;margin:20px auto;text-align:left}.framework-perseus table.perseus-widget-table-of-values.non-markdown tr{height:23px}.framework-perseus table.perseus-widget-table-of-values.non-markdown td,.framework-perseus table.perseus-widget-table-of-values.non-markdown th{border:2px solid #000;border-width:0 2px}.framework-perseus table.perseus-widget-table-of-values.non-markdown td:first-child,.framework-perseus table.perseus-widget-table-of-values.non-markdown th:first-child{border-left:0}.framework-perseus table.perseus-widget-table-of-values.non-markdown td:last-child,.framework-perseus table.perseus-widget-table-of-values.non-markdown th:last-child{border-right:0}.framework-perseus table.perseus-widget-table-of-values.non-markdown th{border-bottom:2px solid #000;font-weight:400;padding:5px;text-align:left;width:80px}.framework-perseus table.perseus-widget-table-of-values.non-markdown th .paragraph{margin:0}.framework-perseus table.perseus-widget-table-of-values.non-markdown td{padding:0 5px}.framework-perseus table.perseus-widget-table-of-values.non-markdown tbody tr:first-child td{padding-top:5px}.framework-perseus table.perseus-widget-table-of-values input{width:80px}body.mobile .framework-perseus table.perseus-widget-table-of-values.non-markdown td{padding:5px}.perseus-widget-container.widget-nohighlight{transition:all .15s}.perseus-widget-container.widget-highlight{box-shadow:0 0 0 2px orange;transition:all .15s}.perseus-widget-container.widget-inline{display:inline}.perseus-widget-container.widget-inline-block{display:inline-block;vertical-align:bottom}.bibliotron-exercise .perseus-hint-renderer{border-left:4px solid #f6f7f7;padding-left:16px;position:relative}.bibliotron-exercise .perseus-hint-renderer:focus{border-left-color:#d6d8da;outline:none}.bibliotron-exercise .perseus-hint-renderer:after,.bibliotron-exercise .perseus-hint-renderer:before{clear:both;content:"";display:table}.bibliotron-exercise .perseus-hint-renderer div.paragraph{margin-bottom:16px;margin-top:0}.bibliotron-exercise .perseus-hint-renderer.last-hint{margin-bottom:32px}@media (max-width:767px){.bibliotron-exercise .perseus-hint-renderer.last-hint{margin-bottom:0}}.perseus-hint-label{color:#00457c;display:none;font-weight:600;margin-right:13px;position:absolute;right:100%;white-space:nowrap}.perseus-domain-science .perseus-hint-label{color:#9e034e}.perseus-domain-math .perseus-hint-label{color:#007d96}.perseus-domain-economics .perseus-hint-label{color:#a75a05}.perseus-domain-partner .perseus-hint-label{color:#208170}.perseus-domain-humanities .perseus-hint-label{color:#be2612}.perseus-domain-test-prep .perseus-hint-label{color:#543b78}.perseus-domain-cs .perseus-hint-label{color:#0d923f}.bibliotron-exercise .perseus-hint-renderer.last-rendered .perseus-hint-label{display:block}@media (max-width:767px){.bibliotron-exercise .perseus-hint-renderer.last-rendered .perseus-hint-label{display:none}}.framework-perseus .perseus-formats-tooltip .paragraph,.framework-perseus .tooltipContainer .perseus-formats-tooltip .paragraph ul{margin:0}.perseus-math-input.mq-editable-field.mq-math-mode{background-color:transparent;border:unset;font-size:18px;min-width:100px}.perseus-math-input.mq-editable-field.mq-math-mode.mq-focused{box-shadow:unset}.perseus-math-input.mq-editable-field.mq-math-mode>.mq-root-block{padding:4px}.perseus-math-input.mq-editable-field.mq-math-mode .mq-cursor{padding-left:0}.perseus-math-input.mq-editable-field.mq-math-mode .mq-paren.mq-ghost{color:inherit}.perseus-math-input.mq-editable-field.mq-math-mode .mq-paren+span{margin:0}.perseus-math-input.mq-editable-field.mq-math-mode .mq-binary-operator{font-family:KaTeX_Main!important}.perseus-math-input.mq-editable-field.mq-math-mode sup{line-height:normal}.perseus-widget-editor .perseus-math-input.mq-editable-field.mq-math-mode>.mq-root-block{border-radius:0}.math-input-buttons{background-color:hsla(0,0%,100%,.7);border:1px solid #ddd;border-radius:5px;box-sizing:border-box;margin-top:5px;padding:2px;width:201px}.math-input-buttons.absolute{left:-2px;position:absolute;top:-3px;z-index:5}.tex-button{background-color:#fff;border:1px solid #1c758a;border-radius:5px;display:block;float:left;height:35px;margin:2px;width:35px}.tex-button:hover{background-color:#f0f0f0;cursor:pointer}.tex-button:focus{border:2px solid #1c758a;outline:none}.tex-button-row{margin:5px 0}.tex-button-row:first-child{margin-top:0}.tex-button-row:last-child{margin-bottom:0}.renderer-widget-error{background-color:#fcc}.perseus-error{background:#ffbaba;border:2px solid red;border-radius:5px;margin:15px 0 10px;padding:20px}@media (max-width:767px){.perseus-renderer-responsive{margin:0 16px}.perseus-renderer-responsive .perseus-renderer-responsive{margin:0}.perseus-mobile .perseus-block-math{font-size:18px}}.perseus-widget-editor-content .perseus-editor-accordion h2{padding-top:0}.MafsView .protractor-rotation-handle{cursor:grab;pointer-events:all;transition:transform .15s ease-out}.MafsView .protractor-rotation-handle:hover{transform:scale(1.2)}.MafsView .protractor-rotation-handle-arrow-arc{fill:none;stroke:var(--mafs-blue);stroke-width:8;stroke-linecap:square}.MafsView .protractor-rotation-handle-arrowhead{fill:var(--mafs-blue);stroke:none}.MafsView{--mafs-bg:#000;--mafs-fg:#fff;--mafs-origin-color:var(--mafs-fg);--mafs-line-color:#555;--mafs-line-stroke-dash-style:4,3;--mafs-axis-stroke-width:1px;--grid-line-subdivision-color:#222;--mafs-red:#f11d0e;--mafs-orange:#f14e0e;--mafs-yellow:#ffe44a;--mafs-green:#15e272;--mafs-blue:#58a6ff;--mafs-indigo:#7c58ff;--mafs-violet:#ae58ff;--mafs-pink:#ee00ab;background:var(--mafs-bg);display:block;font-family:inherit;font-variant-numeric:tabular-nums;outline:0;overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none}.MafsView text{fill:var(--mafs-fg);cursor:default}.MafsView path{stroke:var(--mafs-fg)}.MafsView:focus-visible{border-radius:5px;outline:3px solid #58a6ff}@supports not selector(:focus-visible){.MafsView:focus{border-radius:5px;outline:3px solid #58a6ff}}.mafs-shadow{stroke-width:3px;stroke:var(--mafs-bg);stroke-opacity:.75;stroke-linejoin:round;paint-order:stroke}.mafs-movable-point{cursor:grab;touch-action:none}.mafs-movable-point-dragging{cursor:grabbing}.mafs-movable-point:focus{outline:0}.mafs-movable-point *{fill:none;stroke:none}.mafs-movable-point-hitbox{fill:transparent}.mafs-movable-point-focus{stroke:var(--movable-point-color);stroke-width:2;stroke-opacity:0;fill:none;transition:stroke-opacity .2s ease}.mafs-movable-point-ring{fill:var(--movable-point-color);fill-opacity:.25;stroke:none;transition:r .2s ease}.mafs-movable-point-point{fill:var(--movable-point-color);transition:r .2s ease}.mafs-movable-point:focus-visible .mafs-movable-point-point,.mafs-movable-point:hover .mafs-movable-point-point{r:calc(var(--movable-point-ring-size) - 2px)}.mafs-movable-point:focus-visible .mafs-movable-point-ring,.mafs-movable-point:hover .mafs-movable-point-ring{r:calc(var(--movable-point-ring-size) + 3px)}.mafs-movable-point.mafs-movable-point-dragging .mafs-movable-point-ring{r:var(--movable-point-ring-size)}.mafs-movable-point:focus-visible .mafs-movable-point-focus{stroke-opacity:1}.MafsView{--mafs-bg:transparent;--mafs-fg:#21242c;--mafs-line-color:rgba(33,36,44,.16);--mafs-axis-stroke-width:2px;--mafs-blue:#1865f2;--mafs-red:#d92916;--mafs-green:#00a60e;--mafs-violet:#9059ff;--mafs-yellow:#ffb100;--static-gray:#909296;--movable-point-color:var(--mafs-blue);--movable-point-center-radius:6px;--movable-point-ring-radius:calc(2px + var(--movable-point-center-radius));--movable-point-halo-radius:calc(3px + var(--movable-point-ring-radius));--movable-point-hover-expansion:2px;--movable-point-focus-ring-offset:2px;--movable-line-stroke-weight:2px;--movable-line-stroke-weight-active:4px;overflow:visible!important}.MafsView>svg{display:block;overflow:visible}.MafsView .movable-line:hover,.movable-dragging{--movable-line-stroke-weight:var(--movable-line-stroke-weight-active)}.MafsView .movable-line:focus,.movable-polygon:focus{outline:none}.MafsView .movable-line :is(.movable-line-focus-outline,.movable-line-focus-outline-gap){stroke:transparent}.MafsView .movable-line:focus-visible .movable-line-focus-outline{stroke:var(--mafs-blue);stroke-width:10px}.MafsView .movable-line:focus-visible .movable-line-focus-outline-gap{stroke:#fff;stroke-width:6px}.MafsView .movable-point{cursor:grab;outline:none;touch-action:none}.MafsView .movable-point.movable-point--dragging{cursor:grabbing}.MafsView .movable-point.movable-point--dragging .movable-point-halo{opacity:0}.MafsView .movable-point-hitbox{fill:transparent}.MafsView :is(.movable-point-center,.movable-point-ring,.movable-point-halo,.movable-point-focus-outline){transition:r .15s ease-out,opacity .15s ease-out}.MafsView .movable-point-center{r:var(--movable-point-center-radius)}.MafsView .movable-point-halo{r:var(--movable-point-halo-radius);fill:var(--movable-point-color);filter:drop-shadow(0 5px 5px #0008);opacity:.25}.MafsView .movable-point-ring{r:var(--movable-point-ring-radius);fill:#fff}.MafsView .movable-point:hover .movable-point-center{r:calc(var(--movable-point-hover-expansion) + var(--movable-point-center-radius))}.MafsView .movable-point:hover .movable-point-ring{r:calc(var(--movable-point-hover-expansion) + var(--movable-point-ring-radius))}.MafsView .movable-point:hover .movable-point-halo{r:calc(var(--movable-point-hover-expansion) + var(--movable-point-halo-radius))}.MafsView .movable-point .movable-point-focus-outline{r:calc(var(--movable-point-halo-radius) + var(--movable-point-focus-ring-offset));stroke-width:2px;fill:none;stroke:var(--mafs-blue);visibility:hidden}.MafsView .movable-point:hover .movable-point-focus-outline{r:calc(var(--movable-point-hover-expansion) + var(--movable-point-halo-radius) + var(--movable-point-focus-ring-offset))}.MafsView .movable-point__focusable-handle:focus-visible{outline:none}.MafsView .movable-point:is(:focus,.movable-point--focus) .movable-point-focus-outline{visibility:visible}.MafsView .movable-circle{cursor:grab}.MafsView .movable-circle .circle{stroke-width:2px;fill:transparent}.MafsView .movable-circle:hover .circle{fill:var(--mafs-blue);fill-opacity:.16}.MafsView .movable-circle.movable-circle--dragging{cursor:grabbing;outline:none}.MafsView .movable-circle .focus-ring{stroke:var(--mafs-blue);stroke-width:2px;fill:transparent;visibility:hidden}.MafsView .movable-circle:focus{outline:none}.MafsView .movable-circle:focus-visible .focus-ring{visibility:visible}.MafsView .movable-circle .movable-circle-handle{stroke:#fff;stroke-width:2px}.MafsView .movable-circle .movable-circle-handle-dot{fill:#fff;r:1.25px}@font-face{font-family:Mafs-MJXTEX;src:url(https://cdn.kastatic.org/fonts/mathjax/MathJax_Main-Regular.woff) format("woff")}.MafsView pattern g{stroke:rgba(33,36,44,.32)}.MafsView .angle-arc-interactive{stroke:var(--mafs-blue);stroke-width:.1px}.MafsView .angle-arc-static{stroke:var(--static-gray);stroke-width:.1px}.MafsView .axis-tick-label{stroke:#fff;stroke-width:5px;font-family:KaTeX_Main,Mafs-MJXTEX,sans-serif;paint-order:stroke fill}.MafsView .axis-tick{stroke:#000;stroke-width:1px}.mafs-sr-only{height:0;overflow:hidden;width:0}
package/dist/es/index.js CHANGED
@@ -1686,7 +1686,7 @@ const NumericInputComponent=forwardRef((props,ref)=>{const context=useContext(Pe
1686
1686
 
1687
1687
  class NumericInput extends React.Component{static getUserInputFromProps(props){return {currentValue:props.currentValue}}getUserInput(){return NumericInput.getUserInputFromProps(this.props)}getPromptJSON(){return getPromptJSON$r(this.props,this.getUserInput())}render(){return jsxRuntimeExports.jsx(NumericInputComponent,{...this.props,ref:this.inputRef})}constructor(...args){super(...args),this.inputRef=React.createRef(),this.focus=()=>{this.inputRef.current?.focus();return true},this.focusInputPath=()=>{this.inputRef.current?.focus();},this.blurInputPath=()=>{this.inputRef.current?.blur();},this.getInputPaths=()=>{return [[]]},this.setInputValue=(path,newValue,cb)=>{this.props.onChange({currentValue:newValue},cb);};}}NumericInput.defaultProps={currentValue:"",size:"normal",rightAlign:false,apiOptions:ApiOptions.defaults,coefficient:false,answerForms:[],labelText:"",linterContext:linterContextDefault};const propsTransform=function(widgetOptions){const{answers:_,...rendererProps}={...widgetOptions,answerForms:unionAnswerForms(widgetOptions.answers.filter(answer=>answer.status==="correct").map(answer=>{return (answer.answerForms||[]).map(form=>{return {simplify:answer.simplify,name:form}})}))};return rendererProps};var NumericInput$1 = {name:"numeric-input",displayName:"Numeric input",widget:NumericInput,transform:propsTransform,isLintable:true,getOneCorrectAnswerFromRubric(rubric){const correctAnswers=rubric.answers.filter(answer=>answer.status==="correct");const answerStrings=correctAnswers.map(answer=>{const format=answer.answerForms&&answer.answerForms[0]?answer.answerForms[0]:"decimal";let answerString=KhanMath.toNumericString(answer.value,format);if(answer.maxError){answerString+=" ± "+KhanMath.toNumericString(answer.maxError,format);}return answerString});if(answerStrings.length===0){return}return answerStrings[0]}};
1688
1688
 
1689
- const getPromptJSON$q=(renderProps,userInput)=>{const choices=renderProps.choices||[];const options=choices.map(choice=>{return {value:choice.content}});return {type:"radio",hasNoneOfTheAbove:!!renderProps.hasNoneOfTheAbove,options,userInput:{selectedOptions:userInput.choicesSelected.slice()}}};
1689
+ const getPromptJSON$q=(renderProps,userInput)=>{const choices=renderProps.choices||[];const options=choices.map(choice=>{const option={value:choice.content};if(choice.rationale){option.rationale=choice.rationale;}return option});return {type:"radio",hasNoneOfTheAbove:!!renderProps.hasNoneOfTheAbove,options,userInput:{selectedOptions:userInput.choicesSelected.slice()}}};
1690
1690
 
1691
1691
  const getPromptJSON$p=renderProps=>{return {type:"passage-ref",options:{passageNumber:renderProps.passageNumber,referenceNumber:renderProps.referenceNumber,summaryText:renderProps.summaryText}}};
1692
1692
 
@@ -1742,7 +1742,7 @@ const ChoiceNoneAbove$1=function({content,forwardedRef,showContent=true,...rest}
1742
1742
 
1743
1743
  const{captureScratchpadTouchStart: captureScratchpadTouchStart$2}=Util;function getInstructionsText$1(multipleSelect,countChoices,numCorrect,strings){if(multipleSelect){if(usesNumCorrect(multipleSelect,!!countChoices,numCorrect)){return strings.chooseNumAnswers({numCorrect:String(numCorrect)})}return strings.chooseAllAnswers}return strings.chooseOneAnswer}const BaseRadio$1=function({apiOptions,reviewModeRubric,reviewMode,choices,editMode=false,multipleSelect=false,labelWrap,countChoices,numCorrect,isLastUsedWidget,onChange,registerFocusFunction}){const{strings}=usePerseusI18n();const prevReviewModeRubric=useRef();const choiceRefs=useRef([]);useEffect(()=>{if(apiOptions.canScrollPage&&isLastUsedWidget&&reviewModeRubric&&!prevReviewModeRubric.current){const checkedIndex=choices.findIndex(c=>c.checked);if(checkedIndex>=0){const ref=choiceRefs.current[checkedIndex];const anyNode=ReactDOM__default.findDOMNode(ref.current);const buttonNode=anyNode;if(buttonNode){scrollElementIntoView(buttonNode);}}}prevReviewModeRubric.current=reviewModeRubric;},[apiOptions,choices,isLastUsedWidget,reviewModeRubric]);function updateChoice(choiceIndex,newValues){let newCheckedList;if(newValues.checked&&!multipleSelect){newCheckedList=choices.map(_=>false);}else {newCheckedList=choices.map(c=>c.checked);}newCheckedList[choiceIndex]=newValues.checked;onChange({checked:newCheckedList});}registerFocusFunction?.(choiceIndex=>{const ref=choiceRefs.current[choiceIndex||0];const anyNode=ReactDOM__default.findDOMNode(ref.current);const buttonNode=anyNode;if(buttonNode){buttonNode.focus();}else {return false}return true});const isMobile=apiOptions.isMobile;const firstChoiceHighlighted=choices[0].highlighted;const lastChoiceHighlighted=choices[choices.length-1].highlighted;const className=classNames$1("perseus-widget-radio",!editMode&&"perseus-rendered-radio",css(styles$v.radio,styles$v.responsiveRadioContainer,firstChoiceHighlighted&&isMobile&&styles$v.radioContainerFirstHighlighted,lastChoiceHighlighted&&isMobile&&styles$v.radioContainerLastHighlighted));const instructionsClassName=classNames$1("instructions",css(styles$v.instructions,isMobile&&styles$v.instructionsMobile));const instructions=getInstructionsText$1(multipleSelect,countChoices,numCorrect,strings);const responsiveClassName=css(styles$v.responsiveFieldset);const fieldset=jsxRuntimeExports.jsxs("fieldset",{className:`perseus-widget-radio-fieldset ${responsiveClassName}`,children:[jsxRuntimeExports.jsx("legend",{className:"perseus-sr-only",children:instructions}),jsxRuntimeExports.jsx("div",{className:instructionsClassName,"aria-hidden":"true",children:instructions}),jsxRuntimeExports.jsx("ul",{className:className,style:{listStyle:"none"},children:choices.map((choice,i)=>{let Element=Choice$2;const ref=React.createRef();choiceRefs.current[i]=ref;const elementProps={apiOptions:apiOptions,multipleSelect:multipleSelect,checked:choice.checked,previouslyAnswered:choice.previouslyAnswered,reviewMode,correct:choice.correct,rationale:choice.rationale,content:choice.content,disabled:apiOptions.readOnly||choice.disabled,showCorrectness:reviewMode||!!choice.showCorrectness,showRationale:choice.hasRationale&&(reviewMode||choice.showRationale),pos:i,onChange:newValues=>{if(editMode){return}updateChoice(i,newValues);}};if(choice.isNoneOfTheAbove){Element=ChoiceNoneAbove$2;_.extend(elementProps,{showContent:choice.revealNoneOfTheAbove});}const nextChoice=choices[i+1];const nextChoiceHighlighted=!!nextChoice&&nextChoice.highlighted;const aphroditeClassName=checked=>{return css(styles$v.item,styles$v.responsiveItem,checked&&styles$v.selectedItem,checked&&choice.highlighted&&styles$v.aboveBackdrop,checked&&choice.highlighted&&apiOptions.isMobile&&styles$v.aboveBackdropMobile,nextChoiceHighlighted&&apiOptions.isMobile&&styles$v.nextHighlighted)};aphroditeClassName(true);let correctnessClass;if(reviewMode&&reviewModeRubric){correctnessClass=reviewModeRubric.choices[i].correct?ClassNames.CORRECT:ClassNames.INCORRECT;}const className=classNames$1(aphroditeClassName(choice.checked),ClassNames.RADIO.OPTION,choice.checked&&ClassNames.RADIO.SELECTED,correctnessClass);let listElem=null;let clickHandler;if(editMode){clickHandler=e=>{let elem=e.target;while(elem&&elem!==listElem){if(elem.getAttribute("data-is-radio-icon")){updateChoice(i,{checked:!choice.checked});return}elem=elem.parentNode;}};}return jsxRuntimeExports.jsx("li",{ref:e=>listElem=e,className:className,onClick:clickHandler,onTouchStart:labelWrap?undefined:captureScratchpadTouchStart$2,children:jsxRuntimeExports.jsx(Element,{...elementProps,ref:ref})},i)})})]});return jsxRuntimeExports.jsx("div",{className:css(styles$v.responsiveContainer),children:fieldset})};const styles$v=StyleSheet.create({instructions:{display:"block",color:gray17,fontSize:14,lineHeight:1.25,fontFamily:"inherit",fontStyle:"normal",fontWeight:"bold",marginBottom:16},instructionsMobile:{fontSize:18,[mediaQueries.smOrSmaller]:{fontSize:16},[mediaQueries.xl]:{fontSize:20}},radio:{padding:0},responsiveRadioContainer:{borderBottom:`1px solid ${radioBorderColor$1}`,borderTop:`1px solid ${radioBorderColor$1}`,width:"auto",[mediaQueries.smOrSmaller]:{marginLeft:negativePhoneMargin,marginRight:negativePhoneMargin}},radioContainerFirstHighlighted:{borderTop:`1px solid rgba(0, 0, 0, 0)`},radioContainerLastHighlighted:{borderBottom:`1px solid rgba(0, 0, 0, 0)`},item:{marginLeft:20},responsiveItem:{marginLeft:0,padding:0,":not(:last-child)":{borderBottom:`1px solid ${radioBorderColor$1}`}},selectedItem:{background:"white"},aboveBackdrop:{position:"relative",zIndex:1062},aboveBackdropMobile:{boxShadow:"0 0 4px 0 rgba(0, 0, 0, 0.2),"+"0 0 2px 0 rgba(0, 0, 0, 0.1)",":not(:last-child)":{borderBottom:`1px solid rgba(0, 0, 0, 0)`}},nextHighlighted:{":not(:last-child)":{borderBottom:`1px solid rgba(0, 0, 0, 0)`}},responsiveContainer:{overflow:"auto",marginLeft:negativePhoneMargin,paddingLeft:phoneMargin},responsiveFieldset:{paddingRight:phoneMargin,minWidth:"auto"}});
1744
1744
 
1745
- let Radio$3 = class Radio extends React.Component{static getUserInputFromProps(props,unshuffle=true){if(props.choiceStates){const choiceStates=props.choiceStates;const choicesSelected=choiceStates.map(()=>false);for(let i=0;i<choicesSelected.length;i++){const index=unshuffle?props.choices[i].originalIndex:i;choicesSelected[index]=choiceStates[i].selected;}return {choicesSelected}}const{values}=props;if(values){const choicesSelected=[...values];const valuesLength=values.length;for(let i=0;i<valuesLength;i++){const index=unshuffle?props.choices[i].originalIndex:i;choicesSelected[index]=values[i];}return {choicesSelected}}return {choicesSelected:props.choices.map(()=>false)}}componentDidUpdate(prevProps){if(this.props.showSolutions==="selected"&&prevProps.showSolutions!=="selected"){this.showRationalesForCurrentlySelectedChoices(this.props);}}focus(choiceIndex){if(this.focusFunction){return this.focusFunction(choiceIndex)}return false}registerFocusFunction(fun){this.focusFunction=fun;}getUserInput(){return Radio.getUserInputFromProps(this.props)}getPromptJSON(){const userInput=Radio.getUserInputFromProps(this.props,false);return getPromptJSON$q(this.props,userInput)}render(){const{choices}=this.props;const{strings}=this.context;let choiceStates;if(this.props.static){choiceStates=choices.map(choice=>({selected:!!choice.correct,crossedOut:false,readOnly:true,highlighted:false,rationaleShown:true,correctnessShown:true,previouslyAnswered:false}));}else if(this.props.showSolutions==="all"){choiceStates=choices.map(({correct})=>({selected:!!correct,crossedOut:false,readOnly:true,highlighted:false,rationaleShown:true,correctnessShown:true,previouslyAnswered:false}));}else if(this.props.choiceStates){choiceStates=this.props.choiceStates;}else if(this.props.values){choiceStates=this.props.values.map(val=>({selected:val,crossedOut:false,readOnly:false,highlighted:false,rationaleShown:false,correctnessShown:false,previouslyAnswered:false}));}else {choiceStates=choices.map(()=>({selected:false,crossedOut:false,readOnly:false,highlighted:false,rationaleShown:false,correctnessShown:false,previouslyAnswered:false}));}const choicesProp=choices.map((choice,i)=>{const content=choice.isNoneOfTheAbove&&!choice.content?strings.noneOfTheAbove:choice.content;const{selected,rationaleShown,correctnessShown,readOnly,highlighted,previouslyAnswered}=choiceStates[i];const reviewChoice=this.props.reviewModeRubric?.choices[i];return {content:this._renderRenderer(content),checked:selected,correct:choice.correct===undefined?!!reviewChoice&&!!reviewChoice.correct:choice.correct,disabled:readOnly,hasRationale:!!choice.clue,rationale:this._renderRenderer(choice.clue),showRationale:rationaleShown,showCorrectness:correctnessShown,isNoneOfTheAbove:!!choice.isNoneOfTheAbove,revealNoneOfTheAbove:!!(this.props.questionCompleted&&selected),highlighted,previouslyAnswered:previouslyAnswered}});return jsxRuntimeExports.jsx(BaseRadio$1,{labelWrap:true,multipleSelect:this.props.multipleSelect,countChoices:this.props.countChoices,numCorrect:this.props.numCorrect,choices:choicesProp,onChange:this.updateChoices,reviewModeRubric:this.props.reviewModeRubric,reviewMode:this.props.reviewMode,deselectEnabled:this.props.deselectEnabled,apiOptions:this.props.apiOptions,isLastUsedWidget:this.props.isLastUsedWidget,registerFocusFunction:i=>this.registerFocusFunction(i)})}constructor(...args){super(...args),this._renderRenderer=(content="")=>{let nextPassageRefId=1;const widgets={};const modContent=content.replace(/\{\{passage-ref (\d+) (\d+)(?: "([^"]*)")?\}\}/g,(match,passageNum,refNum,summaryText)=>{const widgetId="passage-ref "+nextPassageRefId;nextPassageRefId++;widgets[widgetId]={type:"passage-ref",graded:false,options:{passageNumber:parseInt(passageNum),referenceNumber:parseInt(refNum),summaryText:summaryText},version:PassageRef$1.version};return "[["+Util.snowman+" "+widgetId+"]]"});return jsxRuntimeExports.jsx(Renderer,{content:modContent,widgets:widgets,findExternalWidgets:this.props.findWidgets,alwaysUpdate:true,linterContext:{...this.props.linterContext,blockHighlight:true},strings:this.context.strings},"choiceContentRenderer")},this.updateChoices=newValueLists=>{const{choiceStates,choices}=this.props;const newChoiceStates=choiceStates?choiceStates.map(state=>({...state})):choices.map(()=>({selected:false,highlighted:false,rationaleShown:false,correctnessShown:false,previouslyAnswered:false,readOnly:false}));newChoiceStates.forEach((choiceState,i)=>{choiceState.selected=newValueLists.checked[i];});this.props.onChange({choiceStates:newChoiceStates});this.props.trackInteraction();},this.showRationalesForCurrentlySelectedChoices=rubric=>{const{choiceStates}=this.props;if(choiceStates){const score=scoreRadio(this.getUserInput(),rubric);const widgetCorrect=score.type==="points"&&score.total===score.earned;const newStates=choiceStates.map(state=>({...state,highlighted:state.selected,rationaleShown:state.selected||state.rationaleShown||widgetCorrect,readOnly:state.selected||state.readOnly||widgetCorrect||this.props.showSolutions!=="none",correctnessShown:state.selected||state.correctnessShown,previouslyAnswered:state.previouslyAnswered||state.selected}));this.props.onChange({choiceStates:newStates},null,true);}},this.deselectIncorrectSelectedChoices=()=>{if(this.props.choiceStates){const newStates=this.props.choiceStates.map((state,i)=>({...state,selected:state.selected&&!!this.props.choices[i].correct,highlighted:false}));this.props.onChange({choiceStates:newStates},null,false);}};}};Radio$3.contextType=PerseusI18nContext;Radio$3.defaultProps={choices:[],multipleSelect:false,countChoices:false,deselectEnabled:false,linterContext:linterContextDefault,showSolutions:"none"};
1745
+ let Radio$3 = class Radio extends React.Component{static getUserInputFromProps(props,unshuffle=true){if(props.choiceStates){const choiceStates=props.choiceStates;const choicesSelected=choiceStates.map(()=>false);for(let i=0;i<choicesSelected.length;i++){const index=unshuffle?props.choices[i].originalIndex:i;choicesSelected[index]=choiceStates[i].selected;}return {choicesSelected}}const{values}=props;if(values){const choicesSelected=[...values];const valuesLength=values.length;for(let i=0;i<valuesLength;i++){const index=unshuffle?props.choices[i].originalIndex:i;choicesSelected[index]=values[i];}return {choicesSelected}}return {choicesSelected:props.choices.map(()=>false)}}componentDidUpdate(prevProps){if(this.props.showSolutions==="selected"&&prevProps.showSolutions!=="selected"){this.showRationalesForCurrentlySelectedChoices(this.props);}}focus(choiceIndex){if(this.focusFunction){return this.focusFunction(choiceIndex)}return false}registerFocusFunction(fun){this.focusFunction=fun;}getUserInput(){return Radio.getUserInputFromProps(this.props)}getPromptJSON(){const userInput=Radio.getUserInputFromProps(this.props,false);return getPromptJSON$q(this.props,userInput)}render(){const{choices}=this.props;const{strings}=this.context;let choiceStates;if(this.props.static){choiceStates=choices.map(choice=>({selected:!!choice.correct,crossedOut:false,readOnly:true,highlighted:false,rationaleShown:true,correctnessShown:true,previouslyAnswered:false}));}else if(this.props.showSolutions==="all"){choiceStates=choices.map(({correct})=>({selected:!!correct,crossedOut:false,readOnly:true,highlighted:false,rationaleShown:true,correctnessShown:true,previouslyAnswered:false}));}else if(this.props.choiceStates){choiceStates=this.props.choiceStates;}else if(this.props.values){choiceStates=this.props.values.map(val=>({selected:val,crossedOut:false,readOnly:false,highlighted:false,rationaleShown:false,correctnessShown:false,previouslyAnswered:false}));}else {choiceStates=choices.map(()=>({selected:false,crossedOut:false,readOnly:false,highlighted:false,rationaleShown:false,correctnessShown:false,previouslyAnswered:false}));}const choicesProp=choices.map((choice,i)=>{const content=choice.isNoneOfTheAbove&&!choice.content?strings.noneOfTheAbove:choice.content;const{selected,rationaleShown,correctnessShown,readOnly,highlighted,previouslyAnswered}=choiceStates[i];const reviewChoice=this.props.reviewModeRubric?.choices[i];return {content:this._renderRenderer(content),checked:selected,correct:choice.correct===undefined?!!reviewChoice&&!!reviewChoice.correct:choice.correct,disabled:readOnly,hasRationale:!!choice.rationale,rationale:this._renderRenderer(choice.rationale),showRationale:rationaleShown,showCorrectness:correctnessShown,isNoneOfTheAbove:!!choice.isNoneOfTheAbove,revealNoneOfTheAbove:!!(this.props.questionCompleted&&selected),highlighted,previouslyAnswered:previouslyAnswered}});return jsxRuntimeExports.jsx(BaseRadio$1,{labelWrap:true,multipleSelect:this.props.multipleSelect,countChoices:this.props.countChoices,numCorrect:this.props.numCorrect,choices:choicesProp,onChange:this.updateChoices,reviewModeRubric:this.props.reviewModeRubric,reviewMode:this.props.reviewMode,deselectEnabled:this.props.deselectEnabled,apiOptions:this.props.apiOptions,isLastUsedWidget:this.props.isLastUsedWidget,registerFocusFunction:i=>this.registerFocusFunction(i)})}constructor(...args){super(...args),this._renderRenderer=(content="")=>{let nextPassageRefId=1;const widgets={};const modContent=content.replace(/\{\{passage-ref (\d+) (\d+)(?: "([^"]*)")?\}\}/g,(match,passageNum,refNum,summaryText)=>{const widgetId="passage-ref "+nextPassageRefId;nextPassageRefId++;widgets[widgetId]={type:"passage-ref",graded:false,options:{passageNumber:parseInt(passageNum),referenceNumber:parseInt(refNum),summaryText:summaryText},version:PassageRef$1.version};return "[["+Util.snowman+" "+widgetId+"]]"});return jsxRuntimeExports.jsx(Renderer,{content:modContent,widgets:widgets,findExternalWidgets:this.props.findWidgets,alwaysUpdate:true,linterContext:{...this.props.linterContext,blockHighlight:true},strings:this.context.strings},"choiceContentRenderer")},this.updateChoices=newValueLists=>{const{choiceStates,choices}=this.props;const newChoiceStates=choiceStates?choiceStates.map(state=>({...state})):choices.map(()=>({selected:false,highlighted:false,rationaleShown:false,correctnessShown:false,previouslyAnswered:false,readOnly:false}));newChoiceStates.forEach((choiceState,i)=>{choiceState.selected=newValueLists.checked[i];});this.props.onChange({choiceStates:newChoiceStates});this.props.trackInteraction();},this.showRationalesForCurrentlySelectedChoices=rubric=>{const{choiceStates}=this.props;if(choiceStates){const score=scoreRadio(this.getUserInput(),rubric);const widgetCorrect=score.type==="points"&&score.total===score.earned;const newStates=choiceStates.map(state=>({...state,highlighted:state.selected,rationaleShown:state.selected||state.rationaleShown||widgetCorrect,readOnly:state.selected||state.readOnly||widgetCorrect||this.props.showSolutions!=="none",correctnessShown:state.selected||state.correctnessShown,previouslyAnswered:state.previouslyAnswered||state.selected}));this.props.onChange({choiceStates:newStates},null,true);}},this.deselectIncorrectSelectedChoices=()=>{if(this.props.choiceStates){const newStates=this.props.choiceStates.map((state,i)=>({...state,selected:state.selected&&!!this.props.choices[i].correct,highlighted:false}));this.props.onChange({choiceStates:newStates},null,false);}};}};Radio$3.contextType=PerseusI18nContext;Radio$3.defaultProps={choices:[],multipleSelect:false,countChoices:false,deselectEnabled:false,linterContext:linterContextDefault,showSolutions:"none"};
1746
1746
 
1747
1747
  const SCROLL_DISTANCE=100;function ScrollableView({overflowX,overflowY,children,scrollDescription,style,role="group",...additionalProps}){const{strings}=usePerseusI18n();const containerRef=useRef(null);const[isScrollable,setIsScrollable]=useState(false);const[canScrollStart,setCanScrollStart]=useState(false);const[canScrollEnd,setCanScrollEnd]=useState(false);const[isRtl,setIsRtl]=useState(false);const updateScrollState=React.useCallback(()=>{if(!containerRef.current){return}const{scrollLeft,scrollWidth,clientWidth}=containerRef.current;setIsRtl(getComputedStyle(containerRef.current).direction==="rtl");const scrollableThreshold=5;setIsScrollable(scrollWidth>clientWidth+scrollableThreshold);if(isRtl){setCanScrollStart(Math.abs(scrollLeft)<scrollWidth-clientWidth-scrollableThreshold);setCanScrollEnd(scrollLeft<-5);}else {setCanScrollStart(scrollLeft>scrollableThreshold);setCanScrollEnd(scrollLeft+clientWidth<scrollWidth-scrollableThreshold);}},[isRtl]);const scroll=direction=>{if(!containerRef.current){return}const scrollNegative=isRtl&&direction!=="start"||!isRtl&&direction==="start";const scrollAmount=scrollNegative?-100:SCROLL_DISTANCE;containerRef.current.scrollBy({left:scrollAmount,behavior:"smooth"});};useEffect(()=>{const container=containerRef.current;if(!container){return}updateScrollState();container.addEventListener("scroll",updateScrollState);window.addEventListener("resize",updateScrollState);return ()=>{container.removeEventListener("scroll",updateScrollState);window.removeEventListener("resize",updateScrollState);}},[children,updateScrollState]);const mergeStyle={overflowX:isScrollable&&overflowX==="auto"?"scroll":overflowX,overflowY:isScrollable&&overflowY==="auto"?"scroll":overflowY,scrollbarWidth:"thin",...style};return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[canScrollEnd&&jsxRuntimeExports.jsx("div",{style:{...styles$u.scrollFade,...isRtl?styles$u.scrollFadeRight:styles$u.scrollFadeLeft}}),canScrollStart&&jsxRuntimeExports.jsx("div",{style:{...styles$u.scrollFade,...isRtl?styles$u.scrollFadeLeft:styles$u.scrollFadeRight}}),jsxRuntimeExports.jsx("div",{...additionalProps,role:role,style:mergeStyle,ref:containerRef,children:children}),isScrollable&&jsxRuntimeExports.jsx(ScrollButtons,{onScrollStart:()=>isRtl?scroll("end"):scroll("start"),onScrollEnd:()=>isRtl?scroll("start"):scroll("end"),canScrollStart:canScrollStart,canScrollEnd:canScrollEnd,scrollDescription:scrollDescription?scrollDescription:strings.scrollAnswers,isRTL:isRtl})]})}function ScrollButtons({onScrollStart,onScrollEnd,canScrollStart,canScrollEnd,scrollDescription,isRTL}){const{strings}=usePerseusI18n();return jsxRuntimeExports.jsxs(View,{style:styles$u.scrollButtonsContainer,children:[jsxRuntimeExports.jsx(IconButton,{icon:isRTL?caretRightIcon:caretLeftIcon,actionType:"neutral",kind:"secondary",size:"small",onClick:isRTL?onScrollEnd:onScrollStart,"aria-label":strings.scrollStart,disabled:isRTL?!canScrollEnd:!canScrollStart}),jsxRuntimeExports.jsx(IconButton,{icon:isRTL?caretLeftIcon:caretRightIcon,actionType:"neutral",kind:"secondary",size:"small",onClick:isRTL?onScrollStart:onScrollEnd,"aria-label":strings.scrollEnd,disabled:isRTL?!canScrollStart:!canScrollEnd}),jsxRuntimeExports.jsx(LabelSmall,{children:scrollDescription})]})}const styles$u={scrollButtonsContainer:{alignItems:"center",flexDirection:"row",gap:spacing.xSmall_8,padding:spacing.small_12},scrollFade:{position:"absolute",top:0,height:"100%",width:"max-content",pointerEvents:"none",zIndex:1,transition:"opacity 0.3s ease"},scrollFadeRight:{right:0,background:"linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))"},scrollFadeLeft:{left:0,background:"linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))"}};
1748
1748
 
@@ -1762,7 +1762,7 @@ const{captureScratchpadTouchStart: captureScratchpadTouchStart$1}=Util;const Bas
1762
1762
 
1763
1763
  const getChoiceStates=({choices,isStatic,showSolutions,choiceStates,values})=>{const defaultState={selected:false,readOnly:false,highlighted:false,rationaleShown:false,correctnessShown:false,previouslyAnswered:false};if(isStatic||showSolutions==="all"){return choices.map(choice=>({...defaultState,selected:!!choice.correct,readOnly:true,rationaleShown:true,correctnessShown:true}))}if(choiceStates){return choiceStates}if(values){return values.map(val=>({...defaultState,selected:val}))}return choices.map(()=>({...defaultState}))};const parseNestedWidgets=content=>{let nextPassageRefId=1;const extractedWidgets={};const parsedContent=content.replace(/\{\{passage-ref (\d+) (\d+)(?: "([^"]*)")?\}\}/g,(_,passageNum,refNum,summaryText)=>{const widgetId="passage-ref "+nextPassageRefId;nextPassageRefId++;extractedWidgets[widgetId]={type:"passage-ref",graded:false,options:{passageNumber:parseInt(passageNum),referenceNumber:parseInt(refNum),summaryText:summaryText},version:PassageRef$1.version};return "[["+Util.snowman+" "+widgetId+"]]"});return {parsedContent,extractedWidgets}};
1764
1764
 
1765
- const defaultProps={multipleSelect:false,countChoices:false,deselectEnabled:false,linterContext:linterContextDefault,showSolutions:"none"};const RadioComponent=({choices,multipleSelect=defaultProps.multipleSelect,countChoices=defaultProps.countChoices,deselectEnabled=defaultProps.deselectEnabled,linterContext=defaultProps.linterContext,showSolutions=defaultProps.showSolutions,static:isStatic,reviewModeRubric,reviewMode,apiOptions,isLastUsedWidget,questionCompleted,findWidgets,onChange,trackInteraction,numCorrect,choiceStates,values})=>{const{strings}=useContext(PerseusI18nContext);useEffect(()=>{console.log("New Radio Component");},[]);const renderRenderer=(content="")=>{const{parsedContent,extractedWidgets}=parseNestedWidgets(content);return jsxRuntimeExports.jsx(Renderer,{content:parsedContent,widgets:extractedWidgets,findExternalWidgets:findWidgets,alwaysUpdate:true,linterContext:{...linterContext,blockHighlight:true},strings:strings},"choiceContentRenderer")};const updateChoices=newValueLists=>{const newChoiceStates=choiceStates?choiceStates.map(state=>({...state})):choices.map(()=>({selected:false,highlighted:false,rationaleShown:false,correctnessShown:false,previouslyAnswered:false,readOnly:false}));newChoiceStates.forEach((choiceState,i)=>{choiceState.selected=newValueLists.checked[i];});onChange({choiceStates:newChoiceStates});trackInteraction();};const buildChoiceProps=(choices,choiceStates)=>{return choices.map((choice,i)=>{const content=choice.isNoneOfTheAbove&&!choice.content?strings.noneOfTheAbove:choice.content;const{selected,rationaleShown,correctnessShown,readOnly,highlighted,previouslyAnswered}=choiceStates[i];const reviewChoice=reviewModeRubric?.choices[i];return {content:renderRenderer(content),checked:selected,correct:choice.correct===undefined?!!reviewChoice&&!!reviewChoice.correct:choice.correct,disabled:readOnly,hasRationale:!!choice.clue,rationale:renderRenderer(choice.clue),showRationale:rationaleShown,showCorrectness:correctnessShown,isNoneOfTheAbove:!!choice.isNoneOfTheAbove,revealNoneOfTheAbove:!!(questionCompleted&&selected),highlighted,previouslyAnswered}})};const updatedChoiceStates=getChoiceStates({choices,isStatic,showSolutions,choiceStates,values});const updatedChoicesProp=buildChoiceProps(choices,updatedChoiceStates);return jsxRuntimeExports.jsx(BaseRadio,{labelWrap:true,multipleSelect:multipleSelect,countChoices:countChoices,numCorrect:numCorrect,choices:updatedChoicesProp,onChange:updateChoices,reviewModeRubric:reviewModeRubric,reviewMode:reviewMode,deselectEnabled:deselectEnabled,apiOptions:apiOptions,isLastUsedWidget:isLastUsedWidget})};
1765
+ const defaultProps={multipleSelect:false,countChoices:false,deselectEnabled:false,linterContext:linterContextDefault,showSolutions:"none"};const RadioComponent=({choices,multipleSelect=defaultProps.multipleSelect,countChoices=defaultProps.countChoices,deselectEnabled=defaultProps.deselectEnabled,linterContext=defaultProps.linterContext,showSolutions=defaultProps.showSolutions,static:isStatic,reviewModeRubric,reviewMode,apiOptions,isLastUsedWidget,questionCompleted,findWidgets,onChange,trackInteraction,numCorrect,choiceStates,values})=>{const{strings}=useContext(PerseusI18nContext);useEffect(()=>{console.log("New Radio Component");},[]);const renderRenderer=(content="")=>{const{parsedContent,extractedWidgets}=parseNestedWidgets(content);return jsxRuntimeExports.jsx(Renderer,{content:parsedContent,widgets:extractedWidgets,findExternalWidgets:findWidgets,alwaysUpdate:true,linterContext:{...linterContext,blockHighlight:true},strings:strings},"choiceContentRenderer")};const updateChoices=newValueLists=>{const newChoiceStates=choiceStates?choiceStates.map(state=>({...state})):choices.map(()=>({selected:false,highlighted:false,rationaleShown:false,correctnessShown:false,previouslyAnswered:false,readOnly:false}));newChoiceStates.forEach((choiceState,i)=>{choiceState.selected=newValueLists.checked[i];});onChange({choiceStates:newChoiceStates});trackInteraction();};const buildChoiceProps=(choices,choiceStates)=>{return choices.map((choice,i)=>{const content=choice.isNoneOfTheAbove&&!choice.content?strings.noneOfTheAbove:choice.content;const{selected,rationaleShown,correctnessShown,readOnly,highlighted,previouslyAnswered}=choiceStates[i];const reviewChoice=reviewModeRubric?.choices[i];return {content:renderRenderer(content),checked:selected,correct:choice.correct===undefined?!!reviewChoice&&!!reviewChoice.correct:choice.correct,disabled:readOnly,hasRationale:!!choice.rationale,rationale:renderRenderer(choice.rationale),showRationale:rationaleShown,showCorrectness:correctnessShown,isNoneOfTheAbove:!!choice.isNoneOfTheAbove,revealNoneOfTheAbove:!!(questionCompleted&&selected),highlighted,previouslyAnswered}})};const updatedChoiceStates=getChoiceStates({choices,isStatic,showSolutions,choiceStates,values});const updatedChoicesProp=buildChoiceProps(choices,updatedChoiceStates);return jsxRuntimeExports.jsx(BaseRadio,{labelWrap:true,multipleSelect:multipleSelect,countChoices:countChoices,numCorrect:numCorrect,choices:updatedChoicesProp,onChange:updateChoices,reviewModeRubric:reviewModeRubric,reviewMode:reviewMode,deselectEnabled:deselectEnabled,apiOptions:apiOptions,isLastUsedWidget:isLastUsedWidget})};
1766
1766
 
1767
1767
  let Radio$2 = class Radio extends React.Component{static getUserInputFromProps(props,unshuffle=true){if(props.choiceStates){const choiceStates=props.choiceStates;const choicesSelected=choiceStates.map(()=>false);for(let i=0;i<choicesSelected.length;i++){const index=unshuffle?props.choices[i].originalIndex:i;choicesSelected[index]=choiceStates[i].selected;}return {choicesSelected}}const{values}=props;if(values){const choicesSelected=[...values];const valuesLength=values.length;for(let i=0;i<valuesLength;i++){const index=unshuffle?props.choices[i].originalIndex:i;choicesSelected[index]=values[i];}return {choicesSelected}}return {choicesSelected:props.choices.map(()=>false)}}getUserInput(){return Radio.getUserInputFromProps(this.props)}getPromptJSON(){const userInput=Radio.getUserInputFromProps(this.props,false);return getPromptJSON$q(this.props,userInput)}render(){return jsxRuntimeExports.jsx(RadioComponent,{...this.props})}constructor(...args){super(...args),this.showRationalesForCurrentlySelectedChoices=rubric=>{const{choiceStates}=this.props;if(choiceStates){const score=scoreRadio(this.getUserInput(),rubric);const widgetCorrect=score.type==="points"&&score.total===score.earned;const newStates=choiceStates.map(state=>({...state,highlighted:state.selected,rationaleShown:state.selected||state.rationaleShown||widgetCorrect,readOnly:state.selected||state.readOnly||widgetCorrect||this.props.showSolutions!=="none",correctnessShown:state.selected||state.correctnessShown,previouslyAnswered:state.previouslyAnswered||state.selected}));this.props.onChange({choiceStates:newStates},()=>{},true);}},this.deselectIncorrectSelectedChoices=()=>{if(this.props.choiceStates){const newStates=this.props.choiceStates.map((state,i)=>({...state,selected:state.selected&&!!this.props.choices[i].correct,highlighted:false}));this.props.onChange({choiceStates:newStates},()=>{},false);}};}};Radio$2.defaultProps={choices:[],multipleSelect:false,countChoices:false,deselectEnabled:false,linterContext:linterContextDefault,showSolutions:"none"};
1768
1768
 
@@ -1995,7 +1995,7 @@ const{getClockwiseAngle}=angles;const{getLineEquation,getLineIntersectionString,
1995
1995
 
1996
1996
  const bodyXsmallBold={fontFamily:"inherit",fontSize:15,fontWeight:"bold",lineHeight:"22px"};
1997
1997
 
1998
- const getPromptJSON$a=(renderProps,userInput)=>{const propMarkers=renderProps.markers.map(marker=>{return {label:marker.label}});const inputMarkers=userInput.markers.map(marker=>{return {label:marker.label,selected:marker.selected}});return {type:"label-image",options:{choices:renderProps.choices,imageUrl:renderProps.imageUrl,imageAlt:renderProps.imageAlt,markers:propMarkers},userInput:{markers:inputMarkers}}};
1998
+ const getPromptJSON$a=(renderProps,userInput)=>{const propMarkers=renderProps.markers.map(marker=>{const userInputMarker={label:marker.label};if(marker.answers?.length){userInputMarker.answers=marker.answers;}return userInputMarker});const inputMarkers=userInput.markers.map(marker=>{return {label:marker.label,selected:marker.selected}});return {type:"label-image",options:{choices:renderProps.choices,imageUrl:renderProps.imageUrl,imageAlt:renderProps.imageAlt,markers:propMarkers},userInput:{markers:inputMarkers}}};
1999
1999
 
2000
2000
  const AnswerChoices=props=>{const{strings}=usePerseusI18n();const onAnswerChange=selected=>{const{choices,onChange}=props;onChange(choices.map(choice=>selected.includes(choice.content)));};const AnswerItems=choices=>choices.map(({content})=>jsxRuntimeExports.jsx(OptionItem,{value:content,label:jsxRuntimeExports.jsx(Renderer,{content:content,strings:strings,inline:true})},content));const selectedValues=props.choices.filter(choice=>choice.checked).map(choice=>choice.content);const{opener,onToggle,disabled}=props;const args={style:{zIndex:"unset"},children:AnswerItems(props.choices),opener,onToggle,disabled};return props.multipleSelect?jsxRuntimeExports.jsx(MultiSelect,{...args,selectedValues:selectedValues,onChange:selected=>onAnswerChange(selected)}):jsxRuntimeExports.jsx(SingleSelect,{...args,selectedValue:selectedValues[0],onChange:selected=>onAnswerChange([selected]),placeholder:props.choices[0].content})};
2001
2001
 
@@ -2067,7 +2067,7 @@ var extraWidgets = [CSProgram$1,Categorizer$1,Definition$1,DeprecatedStandin$1,D
2067
2067
 
2068
2068
  const init=function(){registerCoreWidgets();registerWidgets(basicWidgets);registerWidgets(extraWidgets);replaceDeprecatedWidgets();};
2069
2069
 
2070
- const libName="@khanacademy/perseus";const libVersion="65.0.0";addLibraryVersionToPerseusDebug(libName,libVersion);
2070
+ const libName="@khanacademy/perseus";const libVersion="65.1.1";addLibraryVersionToPerseusDebug(libName,libVersion);
2071
2071
 
2072
2072
  const apiVersion={major:12,minor:0};
2073
2073
 
@@ -2083,7 +2083,7 @@ class HintsRenderer extends React.Component{componentDidMount(){this._cacheHintI
2083
2083
 
2084
2084
  const defaultContext={onRendered:isRendered=>{}};const context=React.createContext(defaultContext);
2085
2085
 
2086
- class ServerItemRenderer extends React.Component{componentDidMount(){this._currentFocus=null;this._fullyRendered=false;}UNSAFE_componentWillReceiveProps(nextProps){this.setState({questionHighlightedWidgets:[]});}componentDidUpdate(prevProps,prevState){const answerableCallback=this.props.apiOptions.answerableCallback;if(answerableCallback!=null){const isAnswerable=this.questionRenderer.emptyWidgets().length===0;answerableCallback(isAnswerable);}if(!this._fullyRendered){const assetsLoaded=Object.values(this.state.assetStatuses).every(Boolean);if(assetsLoaded){this._fullyRendered=true;this.props.onRendered(true);}}if(this.props.score&&this.props.score!==prevProps.score){const emptyQuestionAreaWidgets=this.questionRenderer.emptyWidgets();this.setState({questionCompleted:this.props.score.correct,questionHighlightedWidgets:emptyQuestionAreaWidgets});}}componentWillUnmount(){if(this.blurTimeoutID!=null){clearTimeout(this.blurTimeoutID);this.blurTimeoutID=null;}}_setCurrentFocus(newFocus){const{apiOptions:{isMobile,onFocusChange},keypadElement}=this.props;const prevFocus=this._currentFocus;this._currentFocus=newFocus;const inputPaths=this.getInputPaths();const didFocusInput=this._currentFocus&&inputPaths.some(inputPath=>{return Util.inputPathsEqual(inputPath,this._currentFocus)});if(onFocusChange!=null){setTimeout(()=>{const keypadDomNode=keypadElement?.getDOMNode();const keypadHeight=keypadDomNode&&didFocusInput?keypadDomNode.getBoundingClientRect().height:0;onFocusChange(this._currentFocus,prevFocus,keypadHeight,didFocusInput&&this.questionRenderer.getDOMNodeForPath(newFocus));},0);}if(keypadElement&&isMobile){if(didFocusInput){keypadElement.activate();}else {keypadElement.dismiss();}}}_onRendererBlur(blurPath){const blurringFocusPath=this._currentFocus;if(!_.isEqual(blurPath,blurringFocusPath)){return}this.blurTimeoutID=setTimeout(()=>{if(_.isEqual(this._currentFocus,blurringFocusPath)){this._setCurrentFocus(null);}},0);}_setWidgetProps(widgetId,newProps,callback){this.questionRenderer._setWidgetProps(widgetId,newProps,callback);}setInputValue(path,newValue,focus){return this.questionRenderer.setInputValue(path,newValue,focus)}focusPath(path){return this.questionRenderer.focusPath(path)}blurPath(path){return this.questionRenderer.blurPath(path)}getDOMNodeForPath(path){return this.questionRenderer.getDOMNodeForPath(path)}getInputPaths(){const questionAreaInputPaths=this.questionRenderer.getInputPaths();return questionAreaInputPaths}focus(){return this.questionRenderer.focus()}blur(){if(this._currentFocus){this.blurPath(this._currentFocus);}}getNumHints(){return this.props.item.hints.length}getPromptJSON(){return this.questionRenderer.getPromptJSON()}getUserInputLegacy(){return this.questionRenderer.getUserInput()}getUserInput(){return this.questionRenderer.getUserInputMap()}getWidgetIds(){return this.questionRenderer.getWidgetIds()}getSerializedState(){return {question:this.questionRenderer.getSerializedState(),hints:this.hintsRenderer.getSerializedState()}}restoreSerializedState(state,callback){let numCallbacks=2;const fireCallback=()=>{--numCallbacks;if(callback&&numCallbacks===0){callback();}};this.questionRenderer.restoreSerializedState(state.question,fireCallback);this.hintsRenderer.restoreSerializedState(state.hints,fireCallback);}showRationalesForCurrentlySelectedChoices(){this.questionRenderer.showRationalesForCurrentlySelectedChoices();}deselectIncorrectSelectedChoices(){this.questionRenderer.deselectIncorrectSelectedChoices();}render(){const apiOptions={...ApiOptions.defaults,...this.props.apiOptions,onFocusChange:this._handleFocusChange};const contextValue={assetStatuses:this.state.assetStatuses,setAssetStatus:this.setAssetStatus};const questionRenderer=jsxRuntimeExports.jsx(context$1.Provider,{value:contextValue,children:jsxRuntimeExports.jsx(Renderer,{keypadElement:this.props.keypadElement,problemNum:this.props.problemNum,onInteractWithWidget:this.handleInteractWithWidget,highlightedWidgets:this.state.questionHighlightedWidgets,apiOptions:apiOptions,questionCompleted:this.state.questionCompleted,reviewMode:this.props.reviewMode,showSolutions:this.props.showSolutions,ref:elem=>{if(elem!=null){this.questionRenderer=elem;}},content:this.props.item.question.content,widgets:this.props.item.question.widgets,images:this.props.item.question.images,linterContext:PerseusLinter.pushContextStack(this.props.linterContext,"question"),strings:this.context.strings,...this.props.dependencies})});const hintsRenderer=jsxRuntimeExports.jsx(HintsRenderer,{hints:this.props.item.hints,hintsVisible:this.props.hintsVisible,apiOptions:apiOptions,ref:elem=>this.hintsRenderer=elem,linterContext:PerseusLinter.pushContextStack(this.props.linterContext,"hints"),strings:this.context.strings});return jsxRuntimeExports.jsx(DependenciesContext.Provider,{value:this.props.dependencies,children:jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("div",{children:questionRenderer}),jsxRuntimeExports.jsx("div",{className:apiOptions.isMobile?undefined:css(styles.hintsContainer),children:hintsRenderer})]})})}constructor(props){super(props),this._handleFocusChange=(newFocus,oldFocus)=>{if(newFocus!=null){this._setCurrentFocus(newFocus);}else {this._onRendererBlur(oldFocus);}},this.handleInteractWithWidget=widgetId=>{const withRemoved=_.difference(this.state.questionHighlightedWidgets,[widgetId]);this.setState({questionCompleted:false,questionHighlightedWidgets:withRemoved});this.props.apiOptions?.interactionCallback?.(this.questionRenderer.getUserInputMap());},this.setAssetStatus=(assetKey,status)=>{const assetStatuses={...this.state.assetStatuses,[assetKey]:status};this.setState({assetStatuses});};this.state={questionCompleted:false,questionHighlightedWidgets:[],assetStatuses:{}};this._fullyRendered=false;}}ServerItemRenderer.contextType=PerseusI18nContext;ServerItemRenderer.defaultProps={apiOptions:{},linterContext:PerseusLinter.linterContextDefault,onRendered:isRendered=>{}};const styles=StyleSheet.create({hintsContainer:{marginLeft:50}});const ref=React.forwardRef((props,ref)=>jsxRuntimeExports.jsx(context.Consumer,{children:({onRendered})=>jsxRuntimeExports.jsx(ServerItemRenderer,{...props,onRendered:onRendered,ref:ref})}));
2086
+ class ServerItemRenderer extends React.Component{componentDidMount(){this._currentFocus=null;this._fullyRendered=false;this.maybeCallOnRendered();}UNSAFE_componentWillReceiveProps(nextProps){this.setState({questionHighlightedWidgets:[]});}componentDidUpdate(prevProps,prevState){const answerableCallback=this.props.apiOptions.answerableCallback;if(answerableCallback!=null){const isAnswerable=this.questionRenderer.emptyWidgets().length===0;answerableCallback(isAnswerable);}this.maybeCallOnRendered();if(this.props.score&&this.props.score!==prevProps.score){const emptyQuestionAreaWidgets=this.questionRenderer.emptyWidgets();this.setState({questionCompleted:this.props.score.correct,questionHighlightedWidgets:emptyQuestionAreaWidgets});}}componentWillUnmount(){if(this.blurTimeoutID!=null){clearTimeout(this.blurTimeoutID);this.blurTimeoutID=null;}}maybeCallOnRendered(){if(!this._fullyRendered){const assetsLoaded=Object.values(this.state.assetStatuses).every(Boolean);if(assetsLoaded){this._fullyRendered=true;this.props.onRendered(true);}}}_setCurrentFocus(newFocus){const{apiOptions:{isMobile,onFocusChange},keypadElement}=this.props;const prevFocus=this._currentFocus;this._currentFocus=newFocus;const inputPaths=this.getInputPaths();const didFocusInput=this._currentFocus&&inputPaths.some(inputPath=>{return Util.inputPathsEqual(inputPath,this._currentFocus)});if(onFocusChange!=null){setTimeout(()=>{const keypadDomNode=keypadElement?.getDOMNode();const keypadHeight=keypadDomNode&&didFocusInput?keypadDomNode.getBoundingClientRect().height:0;onFocusChange(this._currentFocus,prevFocus,keypadHeight,didFocusInput&&this.questionRenderer.getDOMNodeForPath(newFocus));},0);}if(keypadElement&&isMobile){if(didFocusInput){keypadElement.activate();}else {keypadElement.dismiss();}}}_onRendererBlur(blurPath){const blurringFocusPath=this._currentFocus;if(!_.isEqual(blurPath,blurringFocusPath)){return}this.blurTimeoutID=setTimeout(()=>{if(_.isEqual(this._currentFocus,blurringFocusPath)){this._setCurrentFocus(null);}},0);}_setWidgetProps(widgetId,newProps,callback){this.questionRenderer._setWidgetProps(widgetId,newProps,callback);}setInputValue(path,newValue,focus){return this.questionRenderer.setInputValue(path,newValue,focus)}focusPath(path){return this.questionRenderer.focusPath(path)}blurPath(path){return this.questionRenderer.blurPath(path)}getDOMNodeForPath(path){return this.questionRenderer.getDOMNodeForPath(path)}getInputPaths(){const questionAreaInputPaths=this.questionRenderer.getInputPaths();return questionAreaInputPaths}focus(){return this.questionRenderer.focus()}blur(){if(this._currentFocus){this.blurPath(this._currentFocus);}}getNumHints(){return this.props.item.hints.length}getPromptJSON(){return this.questionRenderer.getPromptJSON()}getUserInputLegacy(){return this.questionRenderer.getUserInput()}getUserInput(){return this.questionRenderer.getUserInputMap()}getWidgetIds(){return this.questionRenderer.getWidgetIds()}getSerializedState(){return {question:this.questionRenderer.getSerializedState(),hints:this.hintsRenderer.getSerializedState()}}restoreSerializedState(state,callback){let numCallbacks=2;const fireCallback=()=>{--numCallbacks;if(callback&&numCallbacks===0){callback();}};this.questionRenderer.restoreSerializedState(state.question,fireCallback);this.hintsRenderer.restoreSerializedState(state.hints,fireCallback);}showRationalesForCurrentlySelectedChoices(){this.questionRenderer.showRationalesForCurrentlySelectedChoices();}deselectIncorrectSelectedChoices(){this.questionRenderer.deselectIncorrectSelectedChoices();}render(){const apiOptions={...ApiOptions.defaults,...this.props.apiOptions,onFocusChange:this._handleFocusChange};const contextValue={assetStatuses:this.state.assetStatuses,setAssetStatus:this.setAssetStatus};const questionRenderer=jsxRuntimeExports.jsx(context$1.Provider,{value:contextValue,children:jsxRuntimeExports.jsx(Renderer,{keypadElement:this.props.keypadElement,problemNum:this.props.problemNum,onInteractWithWidget:this.handleInteractWithWidget,highlightedWidgets:this.state.questionHighlightedWidgets,apiOptions:apiOptions,questionCompleted:this.state.questionCompleted,reviewMode:this.props.reviewMode,showSolutions:this.props.showSolutions,ref:elem=>{if(elem!=null){this.questionRenderer=elem;}},content:this.props.item.question.content,widgets:this.props.item.question.widgets,images:this.props.item.question.images,linterContext:PerseusLinter.pushContextStack(this.props.linterContext,"question"),strings:this.context.strings,...this.props.dependencies})});const hintsRenderer=jsxRuntimeExports.jsx(HintsRenderer,{hints:this.props.item.hints,hintsVisible:this.props.hintsVisible,apiOptions:apiOptions,ref:elem=>this.hintsRenderer=elem,linterContext:PerseusLinter.pushContextStack(this.props.linterContext,"hints"),strings:this.context.strings});return jsxRuntimeExports.jsx(DependenciesContext.Provider,{value:this.props.dependencies,children:jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("div",{children:questionRenderer}),jsxRuntimeExports.jsx("div",{className:apiOptions.isMobile?undefined:css(styles.hintsContainer),children:hintsRenderer})]})})}constructor(props){super(props),this._handleFocusChange=(newFocus,oldFocus)=>{if(newFocus!=null){this._setCurrentFocus(newFocus);}else {this._onRendererBlur(oldFocus);}},this.handleInteractWithWidget=widgetId=>{const withRemoved=_.difference(this.state.questionHighlightedWidgets,[widgetId]);this.setState({questionCompleted:false,questionHighlightedWidgets:withRemoved});this.props.apiOptions?.interactionCallback?.(this.questionRenderer.getUserInputMap());},this.setAssetStatus=(assetKey,status)=>{const assetStatuses={...this.state.assetStatuses,[assetKey]:status};this.setState({assetStatuses});};this.state={questionCompleted:false,questionHighlightedWidgets:[],assetStatuses:{}};this._fullyRendered=false;}}ServerItemRenderer.contextType=PerseusI18nContext;ServerItemRenderer.defaultProps={apiOptions:{},linterContext:PerseusLinter.linterContextDefault,onRendered:isRendered=>{}};const styles=StyleSheet.create({hintsContainer:{marginLeft:50}});const ref=React.forwardRef((props,ref)=>jsxRuntimeExports.jsx(context.Consumer,{children:({onRendered})=>jsxRuntimeExports.jsx(ServerItemRenderer,{...props,onRendered:onRendered,ref:ref})}));
2087
2087
 
2088
2088
  function isCorrect(score){return score.type==="points"&&score.earned>=score.total}function keScoreFromPerseusScore(score,guess,state){if(score.type==="points"){return {empty:false,correct:isCorrect(score),message:score.message,guess:guess,state:state}}if(score.type==="invalid"){return {empty:true,correct:false,message:score.message,suppressAlmostThere:score.suppressAlmostThere,guess:guess,state:state}}throw new PerseusError("Invalid score type: "+score.type,Errors.InvalidInput,{metadata:{score:JSON.stringify(score),guess:JSON.stringify(guess),state:JSON.stringify(state)}})}
2089
2089