(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
var getSubHints=function(t,i,n){var e="[<a href='#' class='show-subhint' data-subhint='"+t+"'>"+i+"</a>]</p>";e+="<div class='subhint' id='"+t+"'>";for(var s=0;s<n.length;s++)e+="<p>"+n[s]+"</p>";return e+="</div>"};$(document).on("click","a.show-subhint",function(t){var i=$("#"+$(this).data("subhint")),n=$(this).data("visible-text")||$(this).text(),e=$(this).data("hidden-text")||"Hide explanation";$(this).data({"visible-text":n,"hidden-text":e}),i.is(":visible")?$(this).text(n):($(Exercises).trigger("subhintExpand",[$(this).data("subhint")]),$(this).text(e));var s=$("#"+$(this).data("subhint"));return s.toggle(200,function(){s.find("code").each(function(t,i){KhanUtil.processMath(i,null,!0)})}),!1}),$(document).on("mouseenter mouseleave","a.show-definition",function(t){return $("#"+$(this).data("definition")).toggle(200),!1}),$(document).on("click","a.show-definition",function(t){t.preventDefault()}),$.extend(KhanUtil,{getSubHints:getSubHints});
},{}]},{},[1]);
