!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/static/coach_tools_module/",t(t.s=138)}([function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var s=t[o];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),r){var c=a.computed||(a.computed={});Object.keys(r).forEach(function(e){var t=r[e];c[e]=function(){return t}})}return{esModule:o,exports:i,options:a}}},function(e,t){function n(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=l[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(a(r.parts[i],t))}else{for(var s=[],i=0;i<r.parts.length;i++)s.push(a(r.parts[i],t));l[r.id]={id:r.id,refs:1,parts:s}}}}function r(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],i=o[0],s=o[1],a=o[2],c=o[3],u={css:s,media:a,sourceMap:c};n[i]?n[i].parts.push(u):t.push(n[i]={id:i,parts:[u]})}return t}function o(e,t){var n=d(),r=_[_.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),_.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function i(e){e.parentNode.removeChild(e);var t=_.indexOf(e);t>=0&&_.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",o(e,t),t}function a(e,t){var n,r,o;if(t.singleton){var a=v++;n=h||(h=s(t)),r=c.bind(null,n,a,!1),o=c.bind(null,n,a,!0)}else n=s(t),r=u.bind(null,n),o=function(){i(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=m(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function u(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var l={},p=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},f=p(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),d=p(function(){return document.head||document.getElementsByTagName("head")[0]}),h=null,v=0,_=[];e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},"undefined"==typeof t.singleton&&(t.singleton=f()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var o=r(e);return n(o,t),function(e){for(var i=[],s=0;s<o.length;s++){var a=o[s],c=l[a.id];c.refs--,i.push(c)}if(e){var u=r(e);n(u,t)}for(var s=0;s<i.length;s++){var c=i[s];if(0===c.refs){for(var p=0;p<c.parts.length;p++)c.parts[p]();delete l[c.id]}}}};var m=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){var n={COACH_ROOT:"COACH_ROOT",REPORTS_NO_QUERY:"REPORTS_NO_QUERY",REPORTS:"REPORTS",REPORTS_CHANNEL:"REPORTS_CHANNEL",CONTENT_UNAVAILABLE:"CONTENT_UNAVAILABLE"},r={ROOT:"root",TOPIC:"topic",CONTENT:"content"},o={FACILITY:"facility",CLASSROOM:"classroom",LEARNERGROUP:"learnergroup",USER:"user"},i={ALL:"all",RECENT:"recent"},s={LEARNERS:"user_view",CONTENT:"content_view"},a={NAME:"name",EXERCISE:"exercise_progress",CONTENT:"content_progress",DATE:"date"},c={ASCENDING:"asc",DESCENDING:"desc",NONE:"none"};e.exports={PageNames:n,ContentScopes:r,UserScopes:o,AllOrRecent:i,ViewBy:s,TableColumns:a,SortOrders:c}},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(e){function t(e,t,n,r){var o=E.resolve(e);return arguments.length<2?o:o.then(t,n,r)}function r(e){return new E(e)}function o(e){return function(){for(var t=0,n=arguments.length,r=new Array(n);t<n;++t)r[t]=arguments[t];return S(e,this,r)}}function i(e){for(var t=0,n=arguments.length-1,r=new Array(n);t<n;++t)r[t]=arguments[t+1];return S(e,this,r)}function s(){return new a}function a(){function e(e){r._handler.resolve(e)}function t(e){r._handler.reject(e)}function n(e){r._handler.notify(e)}var r=E._defer();this.promise=r,this.resolve=e,this.reject=t,this.notify=n,this.resolver={resolve:e,reject:t,notify:n}}function c(e){return e&&"function"==typeof e.then}function u(){return E.all(arguments)}function l(e){return t(e,E.all)}function p(e){return t(e,E.settle)}function f(e,n){return t(e,function(e){return E.map(e,n)})}function d(e,n){return t(e,function(e){return E.filter(e,n)})}var h=n(125),v=n(119),_=n(120),m=n(121),g=n(122),y=n(123),b=n(124),x=n(127),C=n(126),w=n(25),E=[v,_,m,y,b,g,x,h,C].reduce(function(e,t){return t(e)},n(117)),S=n(26)(E);return t.promise=r,t.resolve=E.resolve,t.reject=E.reject,t.lift=o,t.try=i,t.attempt=i,t.iterate=E.iterate,t.unfold=E.unfold,t.join=u,t.all=l,t.settle=p,t.any=o(E.any),t.some=o(E.some),t.race=o(E.race),t.map=f,t.filter=d,t.reduce=o(E.reduce),t.reduceRight=o(E.reduceRight),t.isPromiseLike=c,t.Promise=E,t.defer=s,t.TimeoutError=w,t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2012-2015 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(e){function t(e){return e}function r(e){return e}function o(e){return e}function i(e){return f.promise(function(t,n){e.forEach(function(e){f(e,t,n)})})}function s(e){return this instanceof s?void u(this,e):new s(e)}function a(e){var n,a,u,d;return e=e||{},n=e.init||t,a=e.request||r,u=e.success||e.response||o,d=e.error||function(){return f((e.response||o).apply(this,arguments),f.reject,f.reject)},function(t,r){function o(e){var n,c;return n={},c={arguments:Array.prototype.slice.call(arguments),client:o},e="string"==typeof e?{path:e}:e||{},e.originator=e.originator||o,l(a.call(n,e,r,c),function(e){var o,a,l;return l=t,e instanceof s&&(a=e.abort,l=e.client||l,o=e.response,e=e.request),o=o||f(e,function(e){return f(l(e),function(e){return u.call(n,e,r,c)},function(e){return d.call(n,e,r,c)})}),a?i([o,a]):o},function(t){return f.reject({request:e,error:t})})}return"object"==typeof t&&(r=t),"function"!=typeof t&&(t=e.client||c),r=n(r||{}),p(o,t)}}var c,u,l,p,f;return c=n(22),u=n(11),l=n(12),p=n(10),f=n(5),a.ComplexRequest=s,a}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t){e.exports=kolibriGlobal.coreVue.vuex.constants},function(e,t){e.exports=kolibriGlobal.coreVue.vuex.getters},function(e,t,n){function r(e){var t=e.user_scope===i.UserScopes.USER,n=e.content_scope===i.ContentScopes.CONTENT;t&&n||(t?e.view_by_content_or_learners=i.ViewBy.CONTENT:n&&(e.view_by_content_or_learners=i.ViewBy.LEARNERS))}function o(e,t){var n={channel_id:e.channel_id,content_scope:e.content_scope,content_scope_id:e.content_scope_id,user_scope:e.user_scope,user_scope_id:e.user_scope_id,all_or_recent:e.all_or_recent,view_by_content_or_learners:e.view_by_content_or_learners,sort_column:e.sort_column,sort_order:e.sort_order},o={name:i.PageNames.REPORTS,params:{}};return Object.assign(o.params,n,t),r(o.params),o}var i=n(4);e.exports=o},function(e,t,n){var r;/*
 * Copyright 2014 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(){return function(e,t){return t&&(e.skip=function(){return t}),e.wrap=function(t,n){return t(e,n)},e.chain=function(){return"undefined"!=typeof console&&console.log("rest.js: client.chain() is deprecated, use client.wrap() instead"),e.wrap.apply(this,arguments)},e}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2012-2013 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(){function e(e){var n,r,o,i;for(e||(e={}),n=1,r=arguments.length;n<r;n+=1){o=arguments[n];for(i in o)i in e&&(e[i]===o[i]||i in t&&t[i]===o[i])||(e[i]=o[i])}return e}var t={};return e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2014-2015 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(e){function t(e,t){return e.then(function(e){return e&&e[t]},function(e){return l.reject(e&&e[t])})}function r(){return t(this,"entity")}function o(){return t(t(this,"status"),"code")}function i(){return t(this,"headers")}function s(e){return e=p(e),t(this.headers(),e)}function a(e){return e=[].concat(e),c(l.reduce(e,function(e,t){if("string"==typeof t&&(t={rel:t}),"function"!=typeof e.entity.clientFor)throw new Error("Hypermedia response expected");var n=e.entity.clientFor(t.rel);return n({params:t.params})},this))}function c(e){return e.status=o,e.headers=i,e.header=s,e.entity=r,e.follow=a,e}function u(){return c(l.apply(l,arguments))}var l=n(5),p=n(24);return u.make=c,u.reject=function(e){return c(l.reject(e))},u.promise=function(e){return c(l.promise(e))},u}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){(function(r){var o;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(i){"use strict";o=function(e){function t(){return"undefined"!=typeof r&&"[object process]"===Object.prototype.toString.call(r)}function o(){return"function"==typeof MutationObserver&&MutationObserver||"function"==typeof WebKitMutationObserver&&WebKitMutationObserver}function i(e){function t(){var e=n;n=void 0,e()}var n,r=document.createTextNode(""),o=new e(t);o.observe(r,{characterData:!0});var i=0;return function(e){n=e,r.data=i^=1}}var s,a="undefined"!=typeof setTimeout&&setTimeout,c=function(e,t){return setTimeout(e,t)},u=function(e){return clearTimeout(e)},l=function(e){return a(e,0)};if(t())l=function(e){return r.nextTick(e)};else if(s=o())l=i(s);else if(!a){var p=n(137);c=function(e,t){return p.setTimer(t,e)},u=p.cancelTimer,l=p.runOnLoop||p.runOnContext}return{setTimer:c,clearTimer:u,asap:l}}.call(t,n,t,e),!(void 0!==o&&(e.exports=o))}(n(0))}).call(t,n(20))},function(e,t){e.exports=kolibriGlobal},function(e,t){e.exports=kolibriGlobal.lib.logging},function(e,t,n){var r=n(136),o=n(133),i=n(4),s={pageName:i.PageNames.REPORTS,pageState:{channel_id:"",content_scope:"",content_scope_id:"",user_scope:"",user_scope_id:"",all_or_recent:"",view_by_content_or_learners:"",sort_column:"",sort_order:"",content_scope_summary:{},user_scope_summary:{},table_data:[{}]}},a={SET_PAGE_NAME:function(e,t){e.pageName=t},SET_CHANNEL_ID:function(e,t){e.pageState.channel_id=t},SET_CONTENT_SCOPE:function(e,t){e.pageState.content_scope=t},SET_CONTENT_SCOPE_ID:function(e,t){e.pageState.content_scope_id=t},SET_USER_SCOPE:function(e,t){e.pageState.user_scope=t},SET_USER_SCOPE_ID:function(e,t){e.pageState.user_scope_id=t},SET_ALL_OR_RECENT:function(e,t){e.pageState.all_or_recent=t},SET_VIEW_BY_CONTENT_OR_LEARNERS:function(e,t){e.pageState.view_by_content_or_learners=t},SET_SORT_COLUMN:function(e,t){e.pageState.sort_column=t},SET_SORT_ORDER:function(e,t){e.pageState.sort_order=t},SET_CONTENT_SCOPE_SUMMARY:function(e,t){e.pageState.content_scope_summary=t},SET_USER_SCOPE_SUMMARY:function(e,t){e.pageState.user_scope_summary=t},SET_TABLE_DATA:function(e,t){e.pageState.table_data=t}};Object.assign(s,o.initialState),Object.assign(a,o.mutations),e.exports=new r.Store({state:s,mutations:a})},function(e,t){e.exports=kolibriGlobal.coreVue.router},function(e,t){e.exports=kolibriGlobal.coreVue.vuex.actions},function(e,t){function n(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function r(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function o(e,t){return n(t,function(t){return e[t]})}function i(e,t){return function(n){return e(t(n))}}function s(e,t){var n=N(e)||l(e)?r(e.length,String):[],o=n.length,i=!!o;for(var s in e)!t&&!S.call(e,s)||i&&("length"==s||c(s,o))||n.push(s);return n}function a(e){if(!u(e))return R(e);var t=[];for(var n in Object(e))S.call(e,n)&&"constructor"!=n&&t.push(n);return t}function c(e,t){return t=null==t?y:t,!!t&&("number"==typeof e||w.test(e))&&e>-1&&e%1==0&&e<t}function u(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||E;return e===n}function l(e){return f(e)&&S.call(e,"callee")&&(!O.call(e,"callee")||T.call(e)==b)}function p(e){return null!=e&&h(e.length)&&!d(e)}function f(e){return _(e)&&p(e)}function d(e){var t=v(e)?T.call(e):"";return t==x||t==C}function h(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=y}function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function _(e){return!!e&&"object"==typeof e}function m(e){return p(e)?s(e):a(e)}function g(e){return e?o(e,m(e)):[]}var y=9007199254740991,b="[object Arguments]",x="[object Function]",C="[object GeneratorFunction]",w=/^(?:0|[1-9]\d*)$/,E=Object.prototype,S=E.hasOwnProperty,T=E.toString,O=E.propertyIsEnumerable,R=i(Object.keys,Object),N=Array.isArray;e.exports=g},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function s(){v&&d&&(v=!1,d.length?h=d.concat(h):_=-1,h.length&&a())}function a(){if(!v){var e=o(s);v=!0;for(var t=h.length;t;){for(d=h,h=[];++_<t;)d&&d[_].run();_=-1,t=h.length}d=null,v=!1,i(e)}}function c(e,t){this.fun=e,this.array=t}function u(){}var l,p,f=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(e){l=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(e){p=r}}();var d,h=[],v=!1,_=-1;f.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new c(e,t)),1!==h.length||v||o(a)},c.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(e,t,n){var r;/*
 * Copyright 2012-2013 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o,i){"use strict";var s;r=function(e){function t(e,t){var n,r,o,i;if(n=e,o={},t){for(r in t)i=new RegExp("\\{"+r+"\\}"),i.test(n)?n=n.replace(i,encodeURIComponent(t[r]),"g"):o[r]=t[r];for(r in o)n+=n.indexOf("?")===-1?"?":"&",n+=encodeURIComponent(r),null!==o[r]&&void 0!==o[r]&&(n+="=",n+=encodeURIComponent(o[r]))}return n}function r(e,t){return 0===e.indexOf(t)}function o(e,t){return this instanceof o?void(e instanceof o?(this._template=e.template,this._params=a({},this._params,t)):(this._template=(e||"").toString(),this._params=t||{})):new o(e,t)}var a,c,u,l,p;return a=n(11),u=/([a-z][a-z0-9\+\-\.]*:)\/\/([^@]+@)?(([^:\/]+)(:([0-9]+))?)?(\/[^?#]*)?(\?[^#]*)?(#\S*)?/i,l=/^([a-z][a-z0-9\-\+\.]*:\/\/|\/)/i,p=/([a-z][a-z0-9\+\-\.]*:)\/\/([^@]+@)?(([^:\/]+)(:([0-9]+))?)?\//i,o.prototype={append:function(e,t){return new o(this._template+e,a({},this._params,t))},fullyQualify:function(){if(!i)return this;if(this.isFullyQualified())return this;var e=this._template;return r(e,"//")?e=c.protocol+e:r(e,"/")?e=c.origin+e:this.isAbsolute()||(e=c.origin+c.pathname.substring(0,c.pathname.lastIndexOf("/")+1)),e.indexOf("/",8)===-1&&(e+="/"),new o(e,this._params)},isAbsolute:function(){return l.test(this.build())},isFullyQualified:function(){return p.test(this.build())},isCrossOrigin:function(){if(!c)return!0;var e=this.parts();return e.protocol!==c.protocol||e.hostname!==c.hostname||e.port!==c.port},parts:function(){var e,t;return e=this.fullyQualify().build().match(u),t={href:e[0],protocol:e[1],host:e[3]||"",hostname:e[4]||"",port:e[6],pathname:e[7]||"",search:e[8]||"",hash:e[9]||""},t.origin=t.protocol+"//"+t.host,t.port=t.port||("https:"===t.protocol?"443":"http:"===t.protocol?"80":""),t},build:function(e){return t(this._template,a({},this._params,e))},toString:function(){return this.build()}},c=i?new o(i.href).parts():s,o}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0),"undefined"!=typeof window?window.location:void 0)},function(e,t,n){var r;/*
 * Copyright 2014 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";var i;r=function(e){function t(){return o.apply(i,arguments)}var r,o,s;return r=n(10),t.setDefaultClient=function(e){o=e},t.getDefaultClient=function(){return o},t.resetDefaultClient=function(){o=s},t.setPlatformDefaultClient=function(e){if(s)throw new Error("Unable to redefine platformDefaultClient");o=s=e},r(t)}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
* Copyright 2014 the original author or authors
* @license MIT, see LICENSE.txt for details
*
* @author Scott Andrews
*/
!function(o){"use strict";var i;r=function(){function e(e){var t,n;return t=e.split(";"),n=t[0].trim().split("+"),{raw:e,type:n[0],suffix:n[1]?"+"+n[1]:"",params:t.slice(1).reduce(function(e,t){return t=t.split("="),e[t[0].trim()]=t[1]?t[1].trim():i,e},{})}}return{parse:e}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2012 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(){function e(e){return e.toLowerCase().split("-").map(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join("-")}return e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(){function e(t){Error.call(this),this.message=t,this.name=e.name,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,e)}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(){function e(e,n){function r(t,r,i){var s=e._defer(),a=i.length,c=new Array(a);return o({f:t,thisArg:r,args:i,params:c,i:a-1,call:n},s._handler),s}function o(t,r){if(t.i<0)return n(t.f,t.thisArg,t.params,r);var o=e._handler(t.args[t.i]);o.fold(i,t,void 0,r)}function i(e,t,n){e.params[e.i]=t,e.i-=1,o(e,n)}return arguments.length<2&&(n=t),r}function t(e,t,n,r){try{r.resolve(e.apply(t,n))}catch(e){r.reject(e)}}return e.tryCatchResolve=t,e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(){function e(){return{state:"pending"}}function t(e){return{state:"rejected",reason:e}}function n(e){return{state:"fulfilled",value:e}}function r(r){var o=r.state();return 0===o?e():o>0?n(r.value):t(r.value)}return{pending:e,fulfilled:n,rejected:t,inspect:r}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t){e.exports=kolibriGlobal.coreVue.components.contentIcon},function(e,t){e.exports=kolibriGlobal.coreVue.components.progressBar},function(e,t,n){var r=n(14);e.exports=function(){function e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];this.name="coach_tools_module",this.events={},this.once={};var r={};this.kolibriModuleOptions.forEach(function(t){e[t]&&(r[t]=e[t])}),Object.assign(this,r),(o=this).initialize.apply(o,[e].concat(t)),this._registerKolibriModule();var o}var t={kolibriModuleOptions:{}};return t.kolibriModuleOptions.get=function(){return[]},e.prototype._registerKolibriModule=function(){r.registerKolibriModuleSync(this)},e.prototype.initialize=function(){},e.prototype.ready=function(){},e.prototype.stopListening=function(e,t){r.stopListening(e,this,t)},e.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];r.emit.apply(r,e)},Object.defineProperties(e.prototype,t),e}()},function(e,t,n){function r(e,t){if(!t)return Object.keys(e);var n=[];return Object.entries(e).forEach(function(e){var r=e[0],o=e[1];t[r]!==o&&n.push(r)}),n}function o(e){e.dispatch("CORE_SET_PAGE_LOADING",!1),e.dispatch("SET_PAGE_NAME",v.PageNames.COACH_ROOT)}function i(e,t){var n=t.channel_id,r=d.getCollection({}).fetch();p.all([r]).only(u.samePageCheckGenerator(e),function(t){var r=t[0];return r.some(function(e){return e.id===n})?void u.setChannelInfo(e,n).then(function(){f.getInstance().replace({name:v.PageNames.REPORTS_NO_QUERY})}):void f.getInstance().replace({name:v.PageNames.CONTENT_UNAVAILABLE})},function(t){u.handleError(e,t)})}function s(e,t){e.dispatch("CORE_SET_PAGE_LOADING",!0),e.dispatch("SET_PAGE_NAME",v.PageNames.REPORTS_NO_QUERY);var n=d.getCollection({}).fetch(),r=h.getCurrentFacility();p.all([n,r]).only(u.samePageCheckGenerator(e),function(e){var t=e[0],n=e[1];if(0===t.length)return void f.getInstance().replace({name:v.PageNames.CONTENT_UNAVAILABLE});var r=l(t),o=t.find(function(e){return e.id===r}).root_pk,i=n[0];f.getInstance().replace({name:v.PageNames.REPORTS,params:{channel_id:r,content_scope:v.ContentScopes.ROOT,content_scope_id:o,user_scope:v.UserScopes.FACILITY,user_scope_id:i,all_or_recent:v.AllOrRecent.ALL,view_by_content_or_learners:v.ViewBy.CONTENT,sort_column:v.TableColumns.NAME,sort_order:v.SortOrders.NONE}})},function(t){u.handleError(e,t)})}function a(e,t,o){var i=t.channel_id,s=t.content_scope,a=t.content_scope_id,c=t.user_scope,l=t.user_scope_id,p=t.all_or_recent,f=t.view_by_content_or_learners,d=t.sort_column,h=t.sort_order;if(!(m(v.ContentScopes).includes(s)&&m(v.UserScopes).includes(c)&&m(v.AllOrRecent).includes(p)&&m(v.ViewBy).includes(f)&&m(v.TableColumns).includes(d)&&m(v.SortOrders).includes(h)))return void u.handleError(e,"Invalid report parameters.");var g=r(t,o);e.dispatch("SET_PAGE_NAME",v.PageNames.REPORTS);var y=["sort_column","sort_order"];if(g.every(function(e){return y.includes(e)}))return e.dispatch("SET_SORT_COLUMN",d),void e.dispatch("SET_SORT_ORDER",h);var b=n(34),x="/coach/api",C=[];if(c===v.UserScopes.USER&&s===v.ContentScopes.CONTENT)C.push([]);else{var w=x+"/"+i+"/"+a+"/"+c+"/"+l;p===v.AllOrRecent.RECENT?w+="/recentreport/":f===v.ViewBy.CONTENT?w+="/contentreport/":f===v.ViewBy.LEARNERS?w+="/userreport/":_.error("unhandled input parameters"),C.push(b(w))}var E=x+"/"+i+"/"+c+"/"+l+"/contentsummary/"+a+"/";if(C.push(b(E)),c===v.UserScopes.USER){var S=x+"/"+i+"/"+a+"/usersummary/"+l+"/";C.push(b(S))}else C.push({});var T=u.setChannelInfo(e);C.push(T),Promise.all(C).then(function(t){var n=t[0],r=t[1],o=t[2];e.dispatch("SET_CHANNEL_ID",i),e.dispatch("SET_CONTENT_SCOPE",s),e.dispatch("SET_CONTENT_SCOPE_ID",a),e.dispatch("SET_USER_SCOPE",c),e.dispatch("SET_USER_SCOPE_ID",l),e.dispatch("SET_ALL_OR_RECENT",p),e.dispatch("SET_VIEW_BY_CONTENT_OR_LEARNERS",f),e.dispatch("SET_SORT_COLUMN",d),e.dispatch("SET_SORT_ORDER",h),e.dispatch("SET_TABLE_DATA",n),e.dispatch("SET_CONTENT_SCOPE_SUMMARY",r),e.dispatch("SET_USER_SCOPE_SUMMARY",o),e.dispatch("CORE_SET_PAGE_LOADING",!1);var u=["Coach Reports"];c===v.UserScopes.USER?u.push(""+o.full_name):c===v.UserScopes.FACILITY&&u.push("All learners"),u.push(""+r.title),p===v.AllOrRecent.RECENT?u.push("Recent"):f===v.ViewBy.CONTENT?u.push("Contents"):f===v.ViewBy.LEARNERS&&u.push("Learners"),e.dispatch("CORE_SET_TITLE",u.join(" - "))},function(t){u.handleError(e,t)})}function c(e){e.dispatch("SET_PAGE_NAME",v.PageNames.CONTENT_UNAVAILABLE),e.dispatch("CORE_SET_PAGE_LOADING",!1),e.dispatch("CORE_SET_TITLE","Content Unavailable")}var u=n(18),l=n(8).getDefaultChannelId,p=n(134),f=n(17),d=n(14).resources.ChannelResource,h=n(14).resources.FacilityUserResource,v=n(4),_=n(15),m=n(19);e.exports={showCoachRoot:o,redirectToChannelReport:i,redirectToDefaultReport:s,showReport:a,showContentUnavailable:c}},function(e,t,n){n(110);var r=n(2)(n(37),n(97),"data-v-79d70054",null);e.exports=r.exports},function(e,t){e.exports=kolibriGlobal.lib.vue},function(e,t,n){function r(e){return new Promise(function(t,n){u({path:e}).then(function(e){return t(e.entity)}).catch(function(e){return n(e)})})}var o=n(62),i=n(66),s=n(135),a=n(64),c=n(65),u=o.wrap(i,{mime:"application/json"}).wrap(a,{name:"X-CSRFToken",token:s.get("csrftoken")}).wrap(c);e.exports=r},function(e,t,n){function r(e,t,n){return void 0===n&&(n=function(){return!0}),e.filter(n).reduce(function(e,n){return e+n[t]},0)}function o(e,t){return r(e,"node_count",t)}function i(e,t,n,o){var i=r(e,"total_progress",t);if(n&&o)return i/(n*o)}function s(e){return e.kind===f.EXERCISE}function a(e){return e.kind!==f.EXERCISE}function c(e,t){var n={};n[l.TableColumns.NAME]="title",n[l.TableColumns.EXERCISE]="exerciseProgress",n[l.TableColumns.CONTENT]="contentProgress",n[l.TableColumns.DATE]="lastActive";var r=n[e],o=t===l.SortOrders.DESCENDING?1:-1,i=e!==l.TableColumns.NAME?-1:1,s=function(e){return e*o*i};return function(e,t){return void 0!==e[r]&&void 0===t[r]?s(1):void 0===e[r]&&void 0!==t[r]?s(-1):e[r]>t[r]?s(1):e[r]<t[r]?s(-1):0}}function u(e,t){var n={};return e.pageState.view_by_content_or_learners===l.ViewBy.CONTENT?(n.kind=t.kind,n.id=t.pk,n.title=t.title,n.parent={id:t.parent.pk,title:t.parent.title},t.kind===f.TOPIC?(n.exerciseCount=o(t.progress,s),n.exerciseProgress=i(t.progress,s,n.exerciseCount,h.userCount(e)),n.contentCount=o(t.progress,a),n.contentProgress=i(t.progress,a,n.contentCount,h.userCount(e))):s(t)?(n.exerciseCount=1,n.exerciseProgress=t.progress[0].total_progress/h.userCount(e),n.contentCount=0,n.contentProgress=void 0):a(t)?(n.exerciseCount=0,n.exerciseProgress=void 0,n.contentCount=1,n.contentProgress=t.progress[0].total_progress/h.userCount(e)):d.error("Unhandled item kind: "+t.kind)):e.pageState.view_by_content_or_learners===l.ViewBy.LEARNERS?(n.kind=p.USER,n.id=t.pk.toString(),n.title=t.full_name,n.parent=void 0,n.exerciseProgress=i(t.progress,s,h.exerciseCount(e),1),n.contentProgress=i(t.progress,a,h.contentCount(e),1)):d.error("Unknown view-by state",e.pageState.view_by_content_or_learners),n.lastActive=t.last_active?new Date(t.last_active):null,n}var l=n(4),p=n(7),f=p.ContentNodeKinds,d=n(15),h={};Object.assign(h,{completionCount:function(e){var t=e.pageState.content_scope_summary;if(t.kind!==f.TOPIC)return t.progress[0].log_count_complete},userCount:function(e){return e.pageState.content_scope_summary.num_users},exerciseCount:function(e){var t=e.pageState.content_scope_summary;return t.kind===f.TOPIC?o(t.progress,s):t.kind===f.EXERCISE?1:0},exerciseProgress:function(e){return i(e.pageState.content_scope_summary.progress,s,h.exerciseCount(e),h.userCount(e))},contentCount:function(e){var t=e.pageState.content_scope_summary;return t.kind===f.TOPIC?o(t.progress,a):t.kind!==f.EXERCISE?1:0},contentProgress:function(e){return i(e.pageState.content_scope_summary.progress,a,h.contentCount(e),h.userCount(e))},dataTable:function(e){var t=e.pageState.table_data.map(function(t){return u(e,t)});return e.pageState.sort_order!==l.SortOrders.NONE&&t.sort(c(e.pageState.sort_column,e.pageState.sort_order)),t}}),e.exports=h},function(e,t,n){var r=n(8).isAdminOrSuperuser;e.exports={$trNameSpace:"learnContentUnavailable",$trs:{header:"Coach reports unavailable",description:"No channels exist",adminInstructions:'Download channels from the <a href="/management/#/content">content management page</a>',nonAdminInstructions:"You need to log in as an administrator to download channels"},vuex:{getters:{isAdminOrSuperuser:r}}}},function(e,t,n){var r=n(16),o=n(4),i=n(8).isCoachAdminOrSuperuser,s=n(7).TopLevelPageNames;e.exports={$trNameSpace:"coach-root",$trs:{coachTitle:"Coach",logInPrompt:"Did you forget to log in?",logInCommand:"You must be logged in as an Admin to view this page."},components:{reports:n(87),"content-unavailable-page":n(79),"core-base":n(131),"channel-switcher":n(130)},computed:{topLevelPageName:function(){return s.COACH},currentPage:function(){return this.pageName===o.PageNames.REPORTS?"reports":this.pageName===o.PageNames.CONTENT_UNAVAILABLE?"content-unavailable-page":null}},methods:{switchChannel:function(e){this.$router.push({name:o.PageNames.REPORTS_CHANNEL,params:{channel_id:e}})}},vuex:{getters:{pageName:function(e){return e.pageName},isCoachAdminOrSuperuser:i}},store:r}},function(e,t){e.exports={$trNameSpace:"allRecentTabs",$trs:{recent:"Recent",topics:"Topics"},props:{recentViewLink:{type:Object,required:!0},allViewLink:{type:Object,required:!0},isRecentView:{type:Boolean,required:!0}}}},function(e,t){e.exports={props:{list:{type:Array,required:!0}}}},function(e,t){e.exports={$trNameSpace:"date-cell",$trs:{date:"{0, date, medium}"},props:{date:{type:Date}}}},function(e,t,n){var r=n(9),o=n(4),i=n(7);e.exports={$trNameSpace:"item-name",$trs:{exercises:"{count, number, integer} {count, plural, one {Exercise} other {Exercises}}",contents:"{count, number, integer} {count, plural, one {Resource} other {Resources}}"},components:{"content-icon":n(28)},props:{kind:{type:String,required:!0},title:{type:String,required:!0},id:{type:String,required:!0},exerciseCount:{type:Number},contentCount:{type:Number}},computed:{isTopic:function(){return this.kind===i.ContentNodeKinds.TOPIC},isUser:function(){return this.kind===i.USER},isContent:function(){return!this.isTopic&&!this.isUser},vLink:function(){return this.isUser?r(this.pageState,{all_or_recent:o.AllOrRecent.ALL,user_scope:o.UserScopes.USER,user_scope_id:this.id}):this.isTopic?r(this.pageState,{all_or_recent:o.AllOrRecent.ALL,content_scope:o.ContentScopes.TOPIC,content_scope_id:this.id}):r(this.pageState,{all_or_recent:o.AllOrRecent.ALL,content_scope:o.ContentScopes.CONTENT,content_scope_id:this.id})}},vuex:{getters:{pageState:function(e){return e.pageState}}}}},function(e,t,n){e.exports={$trNameSpace:"progress-indicator",$trs:{mastered:"mastered by {0, number, integer} learners",completed:"completed by {0, number, integer} learners",pct:"{0, number, percent}"},components:{"progress-bar":n(29)},props:{num:{type:Number},isExercise:{type:Boolean,default:!1},numusers:{type:Number}},computed:{extraText:function(){return void 0===this.numusers?null:this.isExercise?this.$tr("mastered",this.numusers):this.$tr("completed",this.numusers)}}}},function(e,t){e.exports={props:{name:{type:String,required:!0}}}},function(e,t,n){var r=n(4),o=n(9),i=n(19);e.exports={$trNameSpace:"header-cell",$trs:{ascending:"(sorted ascending)",descending:"(sorted descending)"},props:{text:{type:String,required:!0},column:{type:String,required:!0,validator:function(e){return i(r.TableColumns).includes(e)}}},computed:{Constants:function(){return r},sortable:function(){return this.pageState.all_or_recent!==r.AllOrRecent.RECENT},sorted:function(){return this.sortable&&this.pageState.sort_column===this.column},isDescending:function(){return this.sorted&&this.pageState.sort_order===r.SortOrders.DESCENDING},isAscending:function(){return this.sorted&&this.pageState.sort_order===r.SortOrders.ASCENDING},nextSortState:function(){return this.sorted&&this.pageState.sort_order!==r.SortOrders.NONE?this.pageState.sort_order===r.SortOrders.DESCENDING?r.SortOrders.ASCENDING:r.SortOrders.NONE:r.SortOrders.DESCENDING},vLink:function(){var e=o(this.pageState,{sort_column:this.column,sort_order:this.nextSortState});return e.replace=!0,e}},vuex:{getters:{pageState:function(e){return e.pageState}}}}},function(e,t,n){var r=n(4),o=n(35),i=n(8),s=n(9),a=n(15);e.exports={$trNameSpace:"report-page",$trs:{name:"Name","avg-exercise-progress":"Avg. exercise progress","avg-content-progress":"Avg. resource progress","last-activity":"Last activity","all-learners":"All learners ({0, number, integer})"},components:{breadcrumbs:n(81),"all-recent-tabs":n(80),"report-header":n(88),"summary-section":n(89),"view-by-switch":n(90),"header-cell":n(86),"user-cell":n(85),"date-cell":n(82),"progress-cell":n(84),"item-cell":n(83)},computed:{Constants:function(){return r},isViewByContent:function(){return this.pageState.view_by_content_or_learners===r.ViewBy.CONTENT},isRecentView:function(){return this.pageState.all_or_recent===r.AllOrRecent.RECENT},isSingleUser:function(){return this.pageState.user_scope===r.UserScopes.USER},isSingleItem:function(){return this.pageState.content_scope===r.ContentScopes.CONTENT},userBreadcrumbs:function(){if(this.pageState.user_scope===r.UserScopes.FACILITY)return[{title:this.$tr("all-learners",[this.userCount])}];if(this.pageState.user_scope===r.UserScopes.USER){var e="1";return[{title:"All Learners",vlink:s(this.pageState,{view_by_content_or_learners:this.isRecentView?r.ViewBy.CONTENT:r.ViewBy.LEARNERS,user_scope:r.UserScopes.FACILITY,user_scope_id:e})},{title:this.pageState.user_scope_summary.full_name}]}return a.error("Unhandled user_scope: '"+this.pageState.user_scope+"'"),[]},contentBreadcrumbs:function(){var e=this,t=this.pageState.content_scope_summary.ancestors.map(function(t,n){return{title:t.title,vlink:s(e.pageState,{view_by_content_or_learners:r.ViewBy.CONTENT,content_scope:n?r.ContentScopes.TOPIC:r.ContentScopes.ROOT,content_scope_id:t.pk})}});return t.push({title:this.pageState.content_scope_summary.title}),t},recentViewLink:function(){return s(this.pageState,{all_or_recent:r.AllOrRecent.RECENT,content_scope:r.ContentScopes.ROOT,content_scope_id:this.currentChannel.root_id,view_by_content_or_learners:r.ViewBy.CONTENT})},allViewLink:function(){return s(this.pageState,{all_or_recent:r.AllOrRecent.ALL})},viewByLink:function(){var e=this.isViewByContent?r.ViewBy.LEARNERS:r.ViewBy.CONTENT;return s(this.pageState,{view_by_content_or_learners:e})}},vuex:{getters:{pageState:function(e){return e.pageState},exerciseCount:o.exerciseCount,exerciseProgress:o.exerciseProgress,contentCount:o.contentCount,contentProgress:o.contentProgress,dataTable:o.dataTable,userCount:o.userCount,completionCount:o.completionCount,currentChannel:i.getCurrentChannelObject}}}},function(e,t,n){e.exports={components:{"content-icon":n(28)},props:{contentKind:{type:String,required:!0},contentTitle:{type:String,required:!0},userFullName:{type:String}}}},function(e,t,n){var r=n(7);e.exports={$trNameSpace:"report-summary",$trs:{lastActive:"Last active",lastActiveText:"{0, date, medium}",na:"-",exerciseProgress:"Average progress",contentProgress:"Average progress",exerciseCountText:"{count, number, integer} {count, plural, one {Exercise} other {Exercises}}",contentCountText:"{count, number, integer} {count, plural, one {Resource} other {Resources}}",mastered:"Mastered",watched:"Watched",listened:"Listened",viewed:"Viewed",inProgress:"In progress",notStarted:"Not started",notWatched:"Not watched",notListened:"Not listened",notViewed:"Not viewed"},components:{"progress-bar":n(29),"progress-icon":n(132)},computed:{lastActiveDate:function(){return this.lastActive?this.$tr("lastActiveText",[new Date(this.lastActive)]):"–"},Kinds:function(){return r.ContentNodeKinds},isInProgress:function(){return this.contentProgress>0&&this.contentProgress<1},isCompleted:function(){return 1===this.contentProgress}},props:{kind:{type:String,required:!0},exerciseCount:{type:Number,required:!0},exerciseProgress:{type:Number,required:!1},contentCount:{type:Number,required:!0},contentProgress:{type:Number,required:!1},lastActive:{type:String},singleUser:{type:Boolean,required:!0},userCount:{type:Number,required:!0},completionCount:{type:Number,required:!1},isRecentView:{type:Boolean,required:!0}}}},function(e,t){e.exports={$trNameSpace:"view-by-switch",$trs:{viewbylabel:"View by:",contents:"Channel",learners:"Learners"},props:{isContent:{type:Boolean,required:!0},vlink:{type:Object,required:!0},disabled:{type:Boolean,default:!1}}}},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,".extra-text[data-v-03d7e0c6]{font-size:smaller}.person-icon[data-v-03d7e0c6]{position:relative;top:8px;width:15px}",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,".tabs[data-v-10ea1790]{margin-top:.5em;margin-bottom:.5em;background-color:#fff}a[data-v-10ea1790]{display:inline-block;text-decoration:none}.tab[data-v-10ea1790]{display:inline-block;padding:1em;color:#3a3a3a;background-color:#fff;border-bottom:3px solid #fff}.active[data-v-10ea1790]{border-bottom:3px solid #996189}",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,".disabled[data-v-1427043e]{cursor:not-allowed;color:#dfdfdf}.selected[data-v-1427043e]{color:#3a3a3a}.left-text[data-v-1427043e],.right-text[data-v-1427043e]{color:#686868}.left-text.disabled[data-v-1427043e],.right-text.disabled[data-v-1427043e]{color:#dfdfdf}.left-text.selected[data-v-1427043e],.right-text.selected[data-v-1427043e]{color:#3a3a3a}.label[data-v-1427043e],.left-text[data-v-1427043e],.right-text[data-v-1427043e],.toggle-switch-wrapper[data-v-1427043e]{display:inline-block;vertical-align:middle}.label[data-v-1427043e]{margin-right:.5em}a[data-v-1427043e]{display:inline-block;text-decoration:none}.toggle-switch[data-v-1427043e]{width:3em;height:1.5em;border-radius:1em;background-color:#e0e0e0}.toggle-switch-slider[data-v-1427043e]{width:1.5em;height:1.5em;border-radius:1em;background-color:#996189}.toggle-switch-slider.disabled[data-v-1427043e]{background-color:#e2d1e0}.rightside[data-v-1427043e]{margin-left:1.5em}",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,"th[data-v-3d88f859]{white-space:nowrap;vertical-align:center;border-bottom:1px solid #686868;font-weight:400}.header-text[data-v-3d88f859]{text-decoration:none;display:block;color:#686868}.icon-wrapper[data-v-3d88f859]{display:inline-block;position:relative;height:15px;width:15px}.icon[data-v-3d88f859]{height:15px;width:15px;position:absolute;left:0;top:4px;-webkit-transition:opacity .25s ease;transition:opacity .25s ease;opacity:0}.sorted[data-v-3d88f859]{opacity:1}",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,"h2[data-v-3f44c40c]{margin:0;margin-bottom:15px;font-size:1.3em}",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,".breadcrumb-wrapper-div[data-v-690d8f07]{line-height:2em;font-size:smaller;display:inline-block;color:#686868}",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,".login-message[data-v-79d70054]{text-align:center;margin-top:200px}",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,"",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,"",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,".summary-section[data-v-a980fb16]{display:table;width:100%;background-color:#fff}.summary-section-row[data-v-a980fb16]{display:table-row}.summary-section-date[data-v-a980fb16],.summary-section-details[data-v-a980fb16],.summary-section-progress[data-v-a980fb16]{display:table-cell;vertical-align:top;padding-bottom:4px}.summary-section-date[data-v-a980fb16],.summary-section-progress[data-v-a980fb16]{text-align:left}.summary-section-progress[data-v-a980fb16]{width:19%}.summary-section-date[data-v-a980fb16]{width:150px}.summary-section-heading[data-v-a980fb16]{text-align:left;font-size:smaller;color:#686868}",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,"a[data-v-c0de1a12]{font-size:1.15em;font-weight:700}.wrapper[data-v-c0de1a12]{font-weight:400;position:relative;text-align:left;padding:2px 0 0 25px;color:#686868}.hasicon[data-v-c0de1a12]{padding-left:20px}.icon[data-v-c0de1a12]{position:absolute;left:0;fill:#3a3a3a;font-size:1.25em}",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,".data-table[data-v-e49ef0f4]{width:100%;font-size:smaller;border-spacing:0}.data-table td[data-v-e49ef0f4],.data-table th[data-v-e49ef0f4]{padding:10px;text-align:left}.data-table .name-col[data-v-e49ef0f4],.data-table .table-name[data-v-e49ef0f4]{text-align:left}.data-table .progress-col[data-v-e49ef0f4]{text-align:center;width:19%}.data-table .date-col[data-v-e49ef0f4]{text-align:left;width:150px}.item-move[data-v-e49ef0f4]{-webkit-transition:-webkit-transform .5s cubic-bezier(.55,0,.1,1);transition:-webkit-transform .5s cubic-bezier(.55,0,.1,1);transition:transform .5s cubic-bezier(.55,0,.1,1);transition:transform .5s cubic-bezier(.55,0,.1,1),-webkit-transform .5s cubic-bezier(.55,0,.1,1)}.table-section[data-v-e49ef0f4],.top-section[data-v-e49ef0f4]{background-color:#fff;margin-top:1em;margin-bottom:1em;padding:1em}",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,"",""])},function(e,t,n){var r;/*
 * Copyright 2014 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(e){var t=n(22),r=n(63);return t.setPlatformDefaultClient(r),t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2012-2014 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o,i){"use strict";r=function(e){function t(e){var t={};return e?(e.trim().split(l).forEach(function(e){var n,r,o;n=e.indexOf(":"),r=a(e.substring(0,n).trim()),o=e.substring(n+1).trim(),t[r]?Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]:t[r]=o}),t):t}function r(e,t){return Object.keys(t||{}).forEach(function(n){if(t.hasOwnProperty(n)&&n in e)try{e[n]=t[n]}catch(e){}}),e}var o,s,a,c,u,l;return o=n(5),s=n(21),a=n(24),c=n(12),u=n(10),l=/[\r|\n]+/,u(function(e){return c.promise(function(n,o){var a,c,u,l,p,f,d,h;if(e="string"==typeof e?{path:e}:e||{},d={request:e},e.canceled)return d.error="precanceled",void o(d);if(p=e.entity,e.method=e.method||(p?"POST":"GET"),c=e.method,u=d.url=new s(e.path||"",e.params).build(),h=e.engine||i.XMLHttpRequest,!h)return void o({request:e,url:u,error:"xhr-not-available"});try{a=d.raw=new h,r(a,e.mixin),a.open(c,u,!0),r(a,e.mixin),l=e.headers;for(f in l)"Content-Type"===f&&"multipart/form-data"===l[f]||a.setRequestHeader(f,l[f]);e.canceled=!1,e.cancel=function(){e.canceled=!0,a.abort(),o(d)},a.onreadystatechange=function(){e.canceled||a.readyState===(h.DONE||4)&&(d.status={code:a.status,text:a.statusText},d.headers=t(a.getAllResponseHeaders()),d.entity=a.responseText,d.status.code>0?n(d):setTimeout(function(){n(d)},0))};try{a.onerror=function(){d.error="loaderror",o(d)}}catch(e){}a.send(p)}catch(e){d.error="loaderror",o(d)}})})}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0),"undefined"!=typeof window?window:void 0)},function(e,t,n){var r;/*
 * Copyright 2013 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(e){var t;return(t=n(6))({init:function(e){return e.name=e.name||"X-Csrf-Token",e},request:function(e,t){var n,r,o;return n=e.headers||(e.headers={}),r=e.csrfTokenName||t.name,o=e.csrfToken||t.token,o&&(n[r]=o),e}})}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2012-2013 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(e){var t,r;return t=n(6),r=n(5),t({init:function(e){return e.code=e.code||400,e},response:function(e,t){return e.status&&e.status.code>=t.code?r.reject(e):e}})}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2012-2014 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(e){var t,r,o,i,s;return t=n(6),r=n(23),o=n(69),s=n(5),i={read:function(e){return e},write:function(e){return e}},t({init:function(e){return e.registry=e.registry||o,e},request:function(e,t){var n,o;return o=e.headers||(e.headers={}),n=r.parse(o["Content-Type"]=o["Content-Type"]||t.mime||"text/plain"),o.Accept=o.Accept||t.accept||n.raw+", application/json;q=0.8, text/plain;q=0.5, */*;q=0.2","entity"in e?t.registry.lookup(n).otherwise(function(){if(t.permissive)return i;throw"mime-unknown"}).then(function(r){var o=t.client||e.originator;return s.attempt(r.write,e.entity,{client:o,request:e,mime:n,registry:t.registry}).otherwise(function(){throw"mime-serialization"}).then(function(t){return e.entity=t,e})}):e},response:function(e,t){if(!(e.headers&&e.headers["Content-Type"]&&e.entity))return e;var n=r.parse(e.headers["Content-Type"]);return t.registry.lookup(n).otherwise(function(){return i}).then(function(r){var o=t.client||e.request&&e.request.originator;return s.attempt(r.read,e.entity,{client:o,response:e,mime:n,registry:t.registry}).otherwise(function(t){throw e.error="mime-deserialization",e.cause=t,e}).then(function(t){return e.entity=t,e})})}})}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2012-2013 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(e){function t(e,t){return 0===e.indexOf(t)}function r(e,t){return e.lastIndexOf(t)+t.length===e.length}var o,i;return o=n(6),i=n(21),o({request:function(e,n){var o;return n.prefix&&!new i(e.path).isFullyQualified()&&(o=n.prefix,e.path&&(r(o,"/")||t(e.path,"/")||(o+="/"),o+=e.path),e.path=o),e}})}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2015 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(e){var t,r,o;return t=n(6),r=n(78),o=n(11),t({init:function(e){return e.params=e.params||{},e.template=e.template||"",e},request:function(e,t){var n,i;return n=e.path||t.template,i=o({},e.params,t.params),e.path=r.expand(n,i),delete e.params,e}})}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2012-2014 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(e){function t(e){this.lookup=function(t){var n;return n="string"==typeof t?r.parse(t):t,e[n.raw]?e[n.raw]:e[n.type+n.suffix]?e[n.type+n.suffix]:e[n.type]?e[n.type]:e[n.suffix]?e[n.suffix]:o.reject(new Error('Unable to locate converter for mime "'+n.raw+'"'))},this.delegate=function(e){return{read:function(){var t=arguments;return this.lookup(e).then(function(e){return e.read.apply(this,t)}.bind(this))}.bind(this),write:function(){var t=arguments;return this.lookup(e).then(function(e){return e.write.apply(this,t)}.bind(this))}.bind(this)}},this.register=function(t,n){return e[t]=o(n),e[t]},this.child=function(){return new t(Object.create(e))}}var r,o,i;return r=n(23),o=n(5),i=new t({}),i.register("application/hal",n(70)),i.register("application/json",n(71)),i.register("application/x-www-form-urlencoded",n(72)),i.register("multipart/form-data",n(73)),i.register("text/plain",n(74)),i.register("+json",i.delegate("application/json")),i}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2013-2015 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(e){function t(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!1,writeable:!0})}var r,o,i,s,a,c;return r=n(67),o=n(68),i=n(75),s=n(76),a=n(12),c=n(5),{read:function(e,n){function u(e,t){(t&&p&&p.warn||p.log)&&(p.warn||p.log).call(p,"Relationship '"+e+"' is deprecated, see "+t)}var l,p;return n=n||{},l=n.client,p=n.console||p,n.registry.lookup(n.mime.suffix).then(function(p){return c(p.read(e,n)).then(function(e){return i.findProperties(e,"_embedded",function(e,n,r){Object.keys(e).forEach(function(r){if(!(r in n)){var o=a({entity:e[r]});t(n,r,o)}}),t(n,r,e)}),i.findProperties(e,"_links",function(e,n,i){Object.keys(e).forEach(function(r){var i=e[r];r in n||t(n,r,a.make(s(function(){return i.deprecation&&u(r,i.deprecation),i.templated===!0?o(l)({path:i.href}):l({path:i.href})})))}),t(n,i,e),t(n,"clientFor",function(t,n){var i=e[t];if(!i)throw new Error("Unknown relationship: "+t);return i.deprecation&&u(t,i.deprecation),i.templated===!0?o(n||l,{template:i.href}):r(n||l,{prefix:i.href})}),t(n,"requestFor",function(e,t,n){var r=this.clientFor(e,n);return r(t)})}),e})})},write:function(e,t){return t.registry.lookup(t.mime.suffix).then(function(n){return n.write(e,t)})}}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2012-2015 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(){function e(t,n){return{read:function(e){return JSON.parse(e,t)},write:function(e){return JSON.stringify(e,n)},extend:e}}return e()}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2012 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(){function e(e){return e=encodeURIComponent(e),e.replace(r,"+")}function t(e){return e=e.replace(o," "),decodeURIComponent(e)}function n(t,r,o){return Array.isArray(o)?o.forEach(function(e){t=n(t,r,e)}):(t.length>0&&(t+="&"),t+=e(r),void 0!==o&&null!==o&&(t+="="+e(o))),t}var r,o;return r=/%20/g,o=/\+/g,{read:function(e){var n={};return e.split("&").forEach(function(e){var r,o,i;r=e.split("="),o=t(r[0]),i=2===r.length?t(r[1]):null,o in n?(Array.isArray(n[o])||(n[o]=[n[o]]),n[o].push(i)):n[o]=i}),n},write:function(e){var t="";return Object.keys(e).forEach(function(r){t=n(t,r,e[r])}),t}}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2014 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Michael Jackson
 */
!function(o){"use strict";r=function(){function e(e){return e&&1===e.nodeType&&"FORM"===e.tagName}function t(e){var t,n=new FormData;for(var r in e)e.hasOwnProperty(r)&&(t=e[r],t instanceof File?n.append(r,t,t.name):t instanceof Blob?n.append(r,t):n.append(r,String(t)));return n}return{write:function(n){if("undefined"==typeof FormData)throw new Error("The multipart/form-data mime serializer requires FormData support");if(n instanceof FormData)return n;if(e(n))return new FormData(n);if("object"==typeof n&&null!==n)return t(n);throw new Error("Unable to create FormData from object "+n)}}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2012 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(){return{read:function(e){return e},write:function(e){return e.toString()}}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2013 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(){return{findProperties:function e(t,n,r){"object"==typeof t&&null!==t&&(n in t&&r(t[n],t,n),Object.keys(t).forEach(function(o){e(t[o],n,r)}))}}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2013 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(e){function t(e){var t,n,o,i,s;return t=r.defer(),n=!1,o=t.resolver,i=t.promise,s=i.then,i.then=function(){return n||(n=!0,r.attempt(e).then(o.resolve,o.reject)),s.apply(i,arguments)},i}var r;return r=n(5),t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2015 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";r=function(){function e(e,t){if("string"!=typeof e)throw new Error("String required for URL encoding");return e.split("").map(function(e){if(t.hasOwnProperty(e))return e;var n=e.charCodeAt(0);if(n<=127){var r=n.toString(16).toUpperCase();return"%"+(r.length%2===1?"0":"")+r}return encodeURIComponent(e).toUpperCase()}).join("")}function t(t){return t=t||r.unreserved,function(n){return e(n,t)}}function n(e){return decodeURIComponent(e)}var r;return r=function(){var e={alpha:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",digit:"0123456789"};return e.genDelims=":/?#[]@",e.subDelims="!$&'()*+,;=",e.reserved=e.genDelims+e.subDelims,e.unreserved=e.alpha+e.digit+"-._~",e.url=e.reserved+e.unreserved,e.scheme=e.alpha+e.digit+"+-.",e.userinfo=e.unreserved+e.subDelims+":",e.host=e.unreserved+e.subDelims,e.port=e.digit,e.pchar=e.unreserved+e.subDelims+":@",e.segment=e.pchar,e.path=e.segment+"/",e.query=e.pchar+"/?",e.fragment=e.pchar+"/?",Object.keys(e).reduce(function(t,n){return t[n]=e[n].split("").reduce(function(e,t){return e[t]=!0,e},{}),t},{})}(),{decode:n,encode:t(),encodeURL:t(r.url),encodeScheme:t(r.scheme),encodeUserInfo:t(r.userinfo),encodeHost:t(r.host),encodePort:t(r.port),encodePathSegment:t(r.segment),encodePath:t(r.path),encodeQuery:t(r.query),encodeFragment:t(r.fragment)}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/*
 * Copyright 2015 the original author or authors
 * @license MIT, see LICENSE.txt for details
 *
 * @author Scott Andrews
 */
!function(o){"use strict";var i;r=function(e){function t(e,t,n){return t.split(",").reduce(function(t,r){var o,a;if(o={},"*"===r.slice(-1)&&(r=r.slice(0,-1),o.explode=!0),c.test(r)){var u=c.exec(r);r=u[1],o.maxLength=parseInt(u[2])}return r=s.decode(r),a=n[r],a===i||null===a?t:(Array.isArray(a)?t+=a.reduce(function(t,n){return t.length?(t+=o.explode?e.separator:",",e.named&&o.explode&&(t+=e.encoder(r),t+=n.length?"=":e.empty)):(t+=e.first,e.named&&(t+=e.encoder(r),t+=n.length?"=":e.empty)),t+=e.encoder(n)},""):"object"==typeof a?t+=Object.keys(a).reduce(function(t,n){return t.length?t+=o.explode?e.separator:",":(t+=e.first,e.named&&!o.explode&&(t+=e.encoder(r),t+=a[n].length?"=":e.empty)),t+=e.encoder(n),t+=o.explode?"=":",",t+=e.encoder(a[n])},""):(a=String(a),o.maxLength&&(a=a.slice(0,o.maxLength)),t+=t.length?e.separator:e.first,e.named&&(t+=e.encoder(r),t+=a.length?"=":e.empty),t+=e.encoder(a)),t)},"")}function r(e,n){var r;if(r=a[e.slice(0,1)],r?e=e.slice(1):r=a[""],r.reserved)throw new Error("Reserved expression operations are not supported");return t(r,e,n)}function o(e,t){var n,o,i;for(i="",o=0;;){if(n=e.indexOf("{",o),n===-1){i+=e.slice(o);break}i+=e.slice(o,n),o=e.indexOf("}",n)+1,i+=r(e.slice(n+1,o-1),t)}return i}var s,a,c;return s=n(77),c=/^([^:]*):([0-9]+)$/,a={"":{first:"",separator:",",named:!1,empty:"",encoder:s.encode},"+":{first:"",separator:",",named:!1,empty:"",encoder:s.encodeURL},"#":{first:"#",separator:",",named:!1,empty:"",encoder:s.encodeURL},".":{first:".",separator:".",named:!1,empty:"",encoder:s.encode},"/":{first:"/",separator:"/",named:!1,empty:"",encoder:s.encode},";":{first:";",separator:";",named:!0,empty:"",encoder:s.encode},"?":{first:"?",separator:"&",named:!0,empty:"=",encoder:s.encode},"&":{first:"&",separator:"&",named:!0,empty:"=",encoder:s.encode},"=":{reserved:!0},",":{reserved:!0},"!":{reserved:!0},"@":{reserved:!0},"|":{reserved:!0}},{expand:o}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){n(112);var r=n(2)(n(36),n(99),"data-v-7dffdbef",null);e.exports=r.exports},function(e,t,n){n(105);var r=n(2)(n(38),n(92),"data-v-10ea1790",null);e.exports=r.exports},function(e,t,n){n(109);var r=n(2)(n(39),n(96),"data-v-690d8f07",null);e.exports=r.exports},function(e,t,n){n(111);var r=n(2)(n(40),n(98),"data-v-7bed7cbc",null);e.exports=r.exports},function(e,t,n){n(114);var r=n(2)(n(41),n(101),"data-v-c0de1a12",null);e.exports=r.exports},function(e,t,n){n(104);var r=n(2)(n(42),n(91),"data-v-03d7e0c6",null);e.exports=r.exports},function(e,t,n){n(116);var r=n(2)(n(43),n(103),"data-v-e91a5d82",null);e.exports=r.exports},function(e,t,n){n(107);var r=n(2)(n(44),n(94),"data-v-3d88f859",null);e.exports=r.exports},function(e,t,n){n(115);var r=n(2)(n(45),n(102),"data-v-e49ef0f4",null);e.exports=r.exports},function(e,t,n){n(108);var r=n(2)(n(46),n(95),"data-v-3f44c40c",null);e.exports=r.exports},function(e,t,n){n(113);var r=n(2)(n(47),n(100),"data-v-a980fb16",null);e.exports=r.exports},function(e,t,n){n(106);var r=n(2)(n(48),n(93),"data-v-1427043e",null);e.exports=r.exports},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[void 0!==e.num?[n("progress-bar",{attrs:{progress:e.num}}),e._v(" "),e.extraText?n("div",{staticClass:"extra-text"},[n("svg",{staticClass:"person-icon",attrs:{role:"presentation",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}})]),e._v("\n      "+e._s(e.extraText)+"\n    ")]):e._e()]:[e._v("–")],e._v(" ")],!0)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tabs"},[n("router-link",{attrs:{to:e.recentViewLink}},[n("div",{staticClass:"tab",class:{active:e.isRecentView}},[e._v(e._s(e.$tr("recent")))])]),e._v(" "),n("router-link",{attrs:{to:e.allViewLink}},[n("div",{staticClass:"tab",class:{active:!e.isRecentView}},[e._v(e._s(e.$tr("topics")))])])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"label"},[e._v(e._s(e.$tr("viewbylabel")))]),e._v(" "),n("router-link",{class:{disabled:e.disabled},attrs:{to:e.vlink}},[n("div",{staticClass:"left-text",class:{selected:e.isContent,disabled:e.disabled}},[e._v(e._s(e.$tr("contents")))]),e._v(" "),n("div",{staticClass:"toggle-switch-wrapper"},[n("div",{staticClass:"toggle-switch"},[n("div",{staticClass:"toggle-switch-slider",class:{rightside:!e.isContent,disabled:e.disabled}})])]),e._v(" "),n("div",{staticClass:"right-text",class:{selected:!e.isContent,disabled:e.disabled}},[e._v(e._s(e.$tr("learners")))])])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("th",{attrs:{scope:"col"}},[e.sortable?n("router-link",{staticClass:"header-text",attrs:{to:e.vLink}},[n("span",[e._v(e._s(e.text))]),e._v(" "),e.sortable?n("span",{staticClass:"icon-wrapper"},[n("svg",{staticClass:"icon",class:{sorted:e.isDescending},attrs:{role:"presentation",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z"}})]),e._v(" "),n("svg",{staticClass:"icon",class:{sorted:e.isAscending},attrs:{role:"presentation",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"}})])]):e._e(),e._v(" "),e.isAscending?n("span",{staticClass:"visuallyhidden"},[e._v(e._s(e.$tr("ascending")))]):e._e(),e._v(" "),e.isDescending?n("span",{staticClass:"visuallyhidden"},[e._v(e._s(e.$tr("descending")))]):e._e()]):n("div",{staticClass:"header-text"},[e._v(e._s(e.text))]),e._v(" ")])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("h2",[e.userFullName?n("span",[n("svg",{attrs:{role:"presentation",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}})]),e._v("\n    "+e._s(e.userFullName)+" -\n  ")]):e._e(),e._v(" "),n("content-icon",{attrs:{kind:e.contentKind,colorstyle:"text-default"}}),e._v("\n  "+e._s(e.contentTitle)+"\n")])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"breadcrumb-wrapper-div"},e._l(e.list,function(t){return n("span",[t.vlink?n("span",[n("router-link",{attrs:{to:t.vlink}},[e._v(e._s(t.title))]),e._v(" > ")]):n("span",[e._v(" "+e._s(t.title))]),e._v(" ")])}))},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("core-base",{attrs:{topLevelPageName:e.topLevelPageName,appBarTitle:e.$tr("coachTitle")}},[n("div",{slot:"app-bar-actions"},[n("channel-switcher",{on:{switch:e.switchChannel}})]),e._v(" "),!e.currentPage&&e.isCoachAdminOrSuperuser?n("div",{slot:"content"},[n("h1",[e._v("Coach Root")]),e._v(" "),n("a",{attrs:{href:"/coach/#/reports"}},[e._v("Go to Reports.")])]):e._e(),e._v(" "),e.isCoachAdminOrSuperuser?n(e.currentPage,{tag:"component",staticClass:"page",slot:"content"}):n("div",{staticClass:"login-message",slot:"content"},[n("h1",[e._v(e._s(e.$tr("logInPrompt")))]),e._v(" "),n("p",[e._v(e._s(e.$tr("logInCommand")))])]),e._v(" ")])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.date?n("span",[e._v(e._s(e.$tr("date",[e.date])))]):n("span",[e._v("–")]),e._v(" ")])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h1",[e._v(e._s(e.$tr("header")))]),e._v(" "),n("p",[e._v("\n    "+e._s(e.$tr("description"))+"\n    "),e.isAdminOrSuperuser?n("span",{domProps:{innerHTML:e._s(e.$trHtml("adminInstructions"))}}):n("span",[e._v(e._s(e.$tr("nonAdminInstructions")))]),e._v(" ")])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"summary-section"},[e.kind===e.Kinds.TOPIC?n("div",{staticClass:"summary-section-row"},[n("div",{staticClass:"summary-section-details"}),e._v(" "),n("div",{staticClass:"summary-section-progress"},[n("div",{staticClass:"summary-section-details"},[e._v("\n        "+e._s(e.$tr("exerciseCountText",{count:e.exerciseCount}))+"\n      ")]),e._v(" "),n("div",{staticClass:"summary-section-heading"},[e._v(e._s(e.$tr("exerciseProgress")))]),e._v(" "),void 0!==e.exerciseProgress?n("progress-bar",{attrs:{progress:e.exerciseProgress}}):n("div",[e._v(e._s(e.$tr("na")))]),e._v(" ")]),e._v(" "),n("div",{staticClass:"summary-section-progress"},[n("div",{staticClass:"summary-section-details"},[e._v("\n        "+e._s(e.$tr("contentCountText",{count:e.contentCount}))+"\n      ")]),e._v(" "),n("div",{staticClass:"summary-section-heading"},[e._v(e._s(e.$tr("contentProgress")))]),e._v(" "),void 0!==e.contentProgress?n("progress-bar",{attrs:{progress:e.contentProgress}}):n("div",[e._v(e._s(e.$tr("na")))]),e._v(" ")]),e._v(" "),e.isRecentView?e._e():n("div",{staticClass:"summary-section-date"},[n("div",{staticClass:"summary-section-details"},[e._v(e._s(e.$tr("lastActive"))+":")]),e._v("\n      "+e._s(e.lastActiveDate)+"\n    ")])]):e._e(),e._v(" "),e._v(" "),e.kind===e.Kinds.EXERCISE?n("div",{staticClass:"summary-section-row"},[n("div",{staticClass:"summary-section-details"}),e._v(" "),e.singleUser?n("div",{staticClass:"summary-section-progress"},[n("progress-icon",{attrs:{progress:e.contentProgress}}),e._v(" "),e.isCompleted?n("span",[e._v(e._s(e.$tr("mastered")))]):e.isInProgress?n("span",[e._v(e._s(e.$tr("inProgress")))]):n("span",[e._v(e._s(e.$tr("notStarted")))]),e._v(" "),e._v(" ")]):n("div",{staticClass:"summary-section-progress"},[e._v("\n      "+e._s(e.completionCount)+"/"+e._s(e.userCount)+" "+e._s(e.$tr("mastered"))+"\n    ")]),e._v(" "),e._v(" "),n("div",{staticClass:"summary-section-date"},[e._v("\n      "+e._s(e.$tr("lastActive"))+":\n      "),n("br"),e._v("\n      "+e._s(e.lastActiveDate)+"\n    ")])]):e._e(),e._v(" "),e._v(" "),e.kind===(e.Kinds.VIDEO||e.Kinds.AUDIO)?n("div",{staticClass:"summary-section-row"},[n("div",{staticClass:"summary-section-details"}),e._v(" "),e.singleUser?n("div",{staticClass:"summary-section-progress"},[n("progress-icon",{attrs:{progress:e.contentProgress}}),e._v(" "),e.kind===e.Kinds.VIDEO?n("span",[e.isCompleted?n("span",[e._v(e._s(e.$tr("watched")))]):e.isInProgress?n("span",[e._v(e._s(e.$tr("inProgress")))]):n("span",[e._v(e._s(e.$tr("notWatched")))]),e._v(" "),e._v(" ")]):e._e(),e._v(" "),e.kind===e.Kinds.AUDIO?n("span",[e.isCompleted?n("span",[e._v(e._s(e.$tr("listened")))]):e.isInProgress?n("span",[e._v(e._s(e.$tr("inProgress")))]):n("span",[e._v(e._s(e.$tr("notListened")))]),e._v(" "),e._v(" ")]):e._e()]):n("div",{staticClass:"summary-section-progress"},[e._v("\n      "+e._s(e.completionCount)+"/"+e._s(e.userCount)+"\n      "),e.kind===e.Kinds.VIDEO?n("span",[e._v(e._s(e.$tr("watched")))]):n("span",[e._v(e._s(e.$tr("listened")))]),e._v(" ")]),e._v(" "),e._v(" "),n("div",{staticClass:"summary-section-date"},[e._v("\n      "+e._s(e.$tr("lastActive"))+":\n      "),n("br"),e._v("\n      "+e._s(e.lastActiveDate)+"\n    ")])]):e._e(),e._v(" "),e._v(" "),e.kind===e.Kinds.DOCUMENT?n("div",{staticClass:"summary-section-row"},[n("div",{staticClass:"summary-section-details"}),e._v(" "),e.singleUser?n("div",{staticClass:"summary-section-progress"},[n("progress-icon",{attrs:{progress:e.contentProgress}}),e._v(" "),e.isCompleted?n("span",[e._v(e._s(e.$tr("viewed")))]):e.isInProgress?n("span",[e._v(e._s(e.$tr("inProgress")))]):n("span",[e._v(e._s(e.$tr("notViewed")))]),e._v(" "),e._v(" ")]):n("div",{staticClass:"summary-section-progress"},[e._v("\n      "+e._s(e.completionCount)+"/"+e._s(e.userCount)+" "+e._s(e.$tr("viewed"))+"\n    ")]),e._v(" "),e._v(" "),n("div",{staticClass:"summary-section-date"},[e._v("\n      "+e._s(e.$tr("lastActive"))+":\n      "),n("br"),e._v("\n      "+e._s(e.lastActiveDate)+"\n    ")])]):e._e()])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"wrapper"},[n("content-icon",{staticClass:"icon",attrs:{kind:e.kind}}),e._v(" "),n("router-link",{attrs:{to:e.vLink}},[e._v(e._s(e.title))])]),e._v(" "),e.isTopic?n("div",{staticClass:"wrapper"},[e._v("\n    "+e._s(e.$tr("exercises",{count:e.exerciseCount}))+" • "+e._s(e.$tr("contents",{count:e.contentCount}))+"\n  ")]):e._e()])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("breadcrumbs",{attrs:{list:e.userBreadcrumbs}}),e._v(" "),e._v(" "),n("all-recent-tabs",{attrs:{recentViewLink:e.recentViewLink,allViewLink:e.allViewLink,isRecentView:e.isRecentView}}),e._v(" "),n("div",{staticClass:"tabcontents"},[n("div",{staticClass:"top-section"},[!e.isRecentView&&e.contentBreadcrumbs.length>1?n("breadcrumbs",{attrs:{list:e.contentBreadcrumbs}}):e._e(),e._v(" "),e._v(" "),n("report-header",{attrs:{contentKind:e.pageState.content_scope_summary.kind,contentTitle:e.pageState.content_scope_summary.title,userFullName:e.pageState.user_scope_summary.full_name}}),e._v(" "),e._v(" "),n("summary-section",{attrs:{kind:e.pageState.content_scope_summary.kind,exerciseCount:e.exerciseCount,exerciseProgress:e.exerciseProgress,contentCount:e.contentCount,contentProgress:e.contentProgress,lastActive:e.pageState.content_scope_summary.last_active,singleUser:e.isSingleUser,userCount:e.userCount,completionCount:e.completionCount,isRecentView:e.isRecentView}})]),e._v(" "),e._v(" "),e.isSingleUser&&e.isSingleItem?e._e():n("div",{staticClass:"table-section"},[e.isRecentView?e._e():n("view-by-switch",{attrs:{isContent:e.isViewByContent,vlink:e.viewByLink,disabled:e.isSingleUser||e.isSingleItem}}),e._v(" "),e._v(" "),n("table",{staticClass:"data-table"},[n("thead",[n("tr",[n("header-cell",{tag:"th",staticClass:"name-col coach-filter table-name",attrs:{text:e.$tr("name"),column:e.Constants.TableColumns.NAME}}),e._v(" "),n("header-cell",{tag:"th",staticClass:"progress-col coach-filter",attrs:{text:e.$tr("avg-exercise-progress"),column:e.Constants.TableColumns.EXERCISE}}),e._v(" "),n("header-cell",{tag:"th",staticClass:"progress-col coach-filter",attrs:{text:e.$tr("avg-content-progress"),column:e.Constants.TableColumns.CONTENT}}),e._v(" "),e.isRecentView?e._e():n("header-cell",{tag:"th",staticClass:"date-col coach-filter",attrs:{text:e.$tr("last-activity"),column:e.Constants.TableColumns.DATE}})])]),e._v(" "),n("transition-group",{tag:"tbody",attrs:{name:"item"}},e._l(e.dataTable,function(t){return n("tr",{key:t.id},[n("th",{staticClass:"name-col",attrs:{scope:"row"}},[n("item-cell",{attrs:{kind:t.kind,title:t.title,id:t.id,parent:t.parent,exerciseCount:t.exerciseCount,contentCount:t.contentCount}})]),e._v(" "),n("td",{staticClass:"progress-col"},[n("progress-cell",{attrs:{num:t.exerciseProgress,isExercise:!0}})]),e._v(" "),n("td",{staticClass:"progress-col"},[n("progress-cell",{attrs:{num:t.contentProgress,isExercise:!1}})]),e._v(" "),e.isRecentView?e._e():n("td",{staticClass:"date-col"},[n("date-cell",{attrs:{date:t.lastActive}})])])}))])])])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._v(e._s(e.name))])},staticRenderFns:[]}},function(e,t,n){var r=n(49);"string"==typeof r&&(r=[[e.i,r,""]]);n(3)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(50);"string"==typeof r&&(r=[[e.i,r,""]]);n(3)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(51);"string"==typeof r&&(r=[[e.i,r,""]]);n(3)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(52);"string"==typeof r&&(r=[[e.i,r,""]]);n(3)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(53);"string"==typeof r&&(r=[[e.i,r,""]]);n(3)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(54);"string"==typeof r&&(r=[[e.i,r,""]]);n(3)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(55);"string"==typeof r&&(r=[[e.i,r,""]]);n(3)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(56);"string"==typeof r&&(r=[[e.i,r,""]]);n(3)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(57);"string"==typeof r&&(r=[[e.i,r,""]]);n(3)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(58);"string"==typeof r&&(r=[[e.i,r,""]]);n(3)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(59);"string"==typeof r&&(r=[[e.i,r,""]]);n(3)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(60);"string"==typeof r&&(r=[[e.i,r,""]]);n(3)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(61);"string"==typeof r&&(r=[[e.i,r,""]]);n(3)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(e){var t=n(129),r=n(118),o=n(13).asap;return t({scheduler:new r(o)})}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(){function e(e){this._async=e,this._running=!1,this._queue=this,this._queueLen=0,this._afterQueue={},this._afterQueueLen=0;var t=this;this.drain=function(){t._drain()}}return e.prototype.enqueue=function(e){this._queue[this._queueLen++]=e,this.run()},e.prototype.afterQueue=function(e){this._afterQueue[this._afterQueueLen++]=e,this.run()},e.prototype.run=function(){this._running||(this._running=!0,this._async(this.drain))},e.prototype._drain=function(){for(var e=0;e<this._queueLen;++e)this._queue[e].run(),this._queue[e]=void 0;for(this._queueLen=0,this._running=!1,e=0;e<this._afterQueueLen;++e)this._afterQueue[e].run(),this._afterQueue[e]=void 0;this._afterQueueLen=0},e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(e){var t=n(27),r=n(26);return function(e){function n(t){function n(e){l=null,this.resolve(e)}function r(e){this.resolved||(l.push(e),0===--u&&this.reject(l))}for(var o,i,s=e._defer(),a=s._handler,c=t.length>>>0,u=c,l=[],p=0;p<c;++p)if(i=t[p],void 0!==i||p in t){if(o=e._handler(i),o.state()>0){a.become(o),e._visitRemaining(t,p,o);break}o.visit(a,n,r)}else--u;return 0===u&&a.reject(new RangeError("any(): array must not be empty")),s}function o(t,n){function r(e){this.resolved||(l.push(e),0===--d&&(p=null,this.resolve(l)))}function o(e){this.resolved||(p.push(e),0===--i&&(l=null,this.reject(p)))}var i,s,a,c=e._defer(),u=c._handler,l=[],p=[],f=t.length>>>0,d=0;for(a=0;a<f;++a)s=t[a],(void 0!==s||a in t)&&++d;for(n=Math.max(n,0),i=d-n+1,d=Math.min(n,d),n>d?u.reject(new RangeError("some(): array must contain at least "+n+" item(s), but had "+d)):0===d&&u.resolve(l),a=0;a<f;++a)s=t[a],(void 0!==s||a in t)&&e._handler(s).visit(u,r,o,u.notify);return c}function i(t,n){return e._traverse(n,t)}function s(t,n){var r=g.call(t);return e._traverse(n,r).then(function(e){return a(r,e)})}function a(t,n){for(var r=n.length,o=new Array(r),i=0,s=0;i<r;++i)n[i]&&(o[s++]=e._handler(t[i]).value);return o.length=s,o}function c(e){return v(e.map(u))}function u(n){var r=e._handler(n);return 0===r.state()?h(n).then(t.fulfilled,t.rejected):(r._unreport(),t.inspect(r))}function l(e,t){return arguments.length>2?_.call(e,f(t),arguments[2]):_.call(e,f(t))}function p(e,t){return arguments.length>2?m.call(e,f(t),arguments[2]):m.call(e,f(t))}function f(e){return function(t,n,r){return d(e,void 0,[t,n,r])}}var d=r(e),h=e.resolve,v=e.all,_=Array.prototype.reduce,m=Array.prototype.reduceRight,g=Array.prototype.slice;return e.any=n,e.some=o,e.settle=c,e.map=i,e.filter=s,e.reduce=l,e.reduceRight=p,e.prototype.spread=function(e){return this.then(v).then(function(t){return e.apply(this,t)})},e}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(){function e(){throw new TypeError("catch predicate must be a function")}function t(e,t){return n(t)?e instanceof t:t(e)}function n(e){return e===Error||null!=e&&e.prototype instanceof Error}function r(e){return("object"==typeof e||"function"==typeof e)&&null!==e}function o(e){return e}return function(n){function i(e,n){return function(r){return t(r,n)?e.call(this,r):u(r)}}function s(e,t,n,o){var i=e.call(t);return r(i)?a(i,n,o):n(o)}function a(e,t,n){return c(e).then(function(){return t(n)})}var c=n.resolve,u=n.reject,l=n.prototype.catch;return n.prototype.done=function(e,t){this._handler.visit(this._handler.receiver,e,t)},n.prototype.catch=n.prototype.otherwise=function(t){return arguments.length<2?l.call(this,t):"function"!=typeof t?this.ensure(e):l.call(this,i(arguments[1],t))},n.prototype.finally=n.prototype.ensure=function(e){return"function"!=typeof e?this:this.then(function(t){return s(e,this,o,t)},function(t){return s(e,this,u,t)})},n.prototype.else=n.prototype.orElse=function(e){return this.then(void 0,function(){return e})},n.prototype.yield=function(e){return this.then(function(){return e})},n.prototype.tap=function(e){return this.then(e).yield(this)},n}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(){return function(e){return e.prototype.fold=function(t,n){var r=this._beget();return this._handler.fold(function(n,r,o){e._handler(n).fold(function(e,n,r){r.resolve(t.call(this,n,e))},r,this,o)},n,r._handler.receiver,r._handler),r},e}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(e){var t=n(27).inspect;return function(e){return e.prototype.inspect=function(){return t(e._handler(this))},e}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(){return function(e){function t(e,t,r,o){return n(function(t){return[t,e(t)]},t,r,o)}function n(e,t,o,i){function s(i,s){return r(o(i)).then(function(){return n(e,t,o,s)})}return r(i).then(function(n){return r(t(n)).then(function(t){return t?n:r(e(n)).spread(s)})})}var r=e.resolve;return e.iterate=t,e.unfold=n,e}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(){return function(e){return e.prototype.progress=function(e){return this.then(void 0,void 0,e)},e}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(e){function t(e,t,n,o){return r.setTimer(function(){e(n,o,t)},t)}var r=n(13),o=n(25);return function(e){function n(e,n,r){t(i,e,n,r)}function i(e,t){t.resolve(e)}function s(e,t,n){var r="undefined"==typeof e?new o("timed out after "+n+"ms"):e;t.reject(r)}return e.prototype.delay=function(e){var t=this._beget();return this._handler.fold(n,e,void 0,t._handler),t},e.prototype.timeout=function(e,n){var o=this._beget(),i=o._handler,a=t(s,e,n,o._handler);return this._handler.visit(i,function(e){r.clearTimer(a),this.resolve(e)},function(e){r.clearTimer(a),this.reject(e)},i.notify),o},e}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(e){function t(e){throw e}function r(){}var o=n(13).setTimer,i=n(128);return function(e){function n(e){e.handled||(d.push(e),l("Potentially unhandled rejection ["+e.id+"] "+i.formatError(e.value)))}function s(e){var t=d.indexOf(e);t>=0&&(d.splice(t,1),p("Handled previous rejection ["+e.id+"] "+i.formatObject(e.value)))}function a(e,t){f.push(e,t),null===h&&(h=o(c,0))}function c(){for(h=null;f.length>0;)f.shift()(f.shift())}var u,l=r,p=r;"undefined"!=typeof console&&(u=console,l="undefined"!=typeof u.error?function(e){u.error(e)}:function(e){u.log(e)},p="undefined"!=typeof u.info?function(e){u.info(e)}:function(e){u.log(e)}),e.onPotentiallyUnhandledRejection=function(e){a(n,e)},e.onPotentiallyUnhandledRejectionHandled=function(e){a(s,e)},e.onFatalRejection=function(e){a(t,e.value)};var f=[],d=[],h=null;return e}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(){return function(e){return e.prototype.with=e.prototype.withThis=function(e){var t=this._beget(),n=t._handler;return n.receiver=e,this._handler.chain(n,e),t},e}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){var r;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(o){"use strict";r=function(){function e(e){var n="object"==typeof e&&null!==e&&(e.stack||e.message)?e.stack||e.message:t(e);return e instanceof Error?n:n+" (WARNING: non-Error used)"}function t(e){var t=String(e);return"[object Object]"===t&&"undefined"!=typeof JSON&&(t=n(e,t)),t}function n(e,t){try{return JSON.stringify(e)}catch(e){return t}}return{formatError:e,formatObject:t,tryStringify:n}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(n(0))},function(e,t,n){(function(r){var o;/** @license MIT License (c) copyright 2010-2014 original author or authors */
!function(i){"use strict";o=function(){return function(e){function t(e,t){this._handler=e===b?t:n(e)}function n(e){function t(e){o.resolve(e)}function n(e){o.reject(e)}function r(e){o.notify(e)}var o=new C;try{e(t,n,r)}catch(e){n(e)}return o}function o(e){return I(e)?e:new t(b,new w(m(e)))}function i(e){return new t(b,new w(new T(e)))}function s(){return ee}function a(){return new t(b,new C)}function c(e,t){var n=new C(e.receiver,e.join().context);return new t(b,n)}function u(e){return p(z,null,e)}function l(e,t){return p(q,e,t)}function p(e,n,r){function o(t,o,s){s.resolved||f(r,i,t,e(n,o,t),s)}function i(e,t,n){l[e]=t,0===--u&&n.become(new S(l))}for(var s,a="function"==typeof n?o:i,c=new C,u=r.length>>>0,l=new Array(u),p=0;p<r.length&&!c.resolved;++p)s=r[p],void 0!==s||p in r?f(r,a,p,s,c):--u;return 0===u&&c.become(new S(l)),new t(b,c)}function f(e,t,n,r,o){if(U(r)){var i=g(r),s=i.state();0===s?i.fold(t,n,void 0,o):s>0?t(n,i.value,o):(o.become(i),d(e,n+1,i))}else t(n,r,o)}function d(e,t,n){for(var r=t;r<e.length;++r)h(m(e[r]),n)}function h(e,t){if(e!==t){var n=e.state();0===n?e.visit(e,void 0,e._unreport):n<0&&e._unreport()}}function v(e){return"object"!=typeof e||null===e?i(new TypeError("non-iterable passed to race()")):0===e.length?s():1===e.length?o(e[0]):_(e)}function _(e){var n,r,o,i=new C;for(n=0;n<e.length;++n)if(r=e[n],void 0!==r||n in e){if(o=m(r),0!==o.state()){i.become(o),d(e,n+1,o);break}o.visit(i,i.resolve,i.reject)}return new t(b,i)}function m(e){return I(e)?e._handler.join():U(e)?y(e):new S(e)}function g(e){return I(e)?e._handler.join():y(e)}function y(e){try{var t=e.then;return"function"==typeof t?new E(t,e):new S(e)}catch(e){return new T(e)}}function b(){}function x(){}function C(e,n){t.createContext(this,n),this.consumers=void 0,this.receiver=e,this.handler=void 0,this.resolved=!1}function w(e){this.handler=e}function E(e,t){C.call(this),K.enqueue(new k(e,t,this))}function S(e){t.createContext(this),this.value=e}function T(e){t.createContext(this),this.id=++J,this.value=e,this.handled=!1,this.reported=!1,this._report()}function O(e,t){this.rejection=e,this.context=t}function R(e){this.rejection=e}function N(){return new T(new TypeError("Promise cycle"))}function A(e,t){this.continuation=e,this.handler=t}function P(e,t){this.handler=t,this.value=e}function k(e,t,n){this._then=e,this.thenable=t,this.resolver=n}function j(e,t,n,r,o){try{e.call(t,n,r,o)}catch(e){r(e)}}function L(e,t,n,r){this.f=e,this.z=t,this.c=n,this.to=r,this.resolver=W,this.receiver=this}function I(e){return e instanceof t}function U(e){return("object"==typeof e||"function"==typeof e)&&null!==e}function $(e,n,r,o){return"function"!=typeof e?o.become(n):(t.enterContext(n),B(e,n.value,r,o),void t.exitContext())}function D(e,n,r,o,i){return"function"!=typeof e?i.become(r):(t.enterContext(r),M(e,n,r.value,o,i),void t.exitContext())}function V(e,n,r,o,i){return"function"!=typeof e?i.notify(n):(t.enterContext(r),F(e,n,o,i),void t.exitContext())}function q(e,t,n){try{return e(t,n)}catch(e){return i(e)}}function B(e,t,n,r){try{r.become(m(e.call(n,t)))}catch(e){r.become(new T(e))}}function M(e,t,n,r,o){try{e.call(r,t,n,o)}catch(e){o.become(new T(e))}}function F(e,t,n,r){try{r.notify(e.call(n,t))}catch(e){r.notify(e)}}function G(e,t){t.prototype=X(e.prototype),t.prototype.constructor=t}function z(e,t){return t}function H(){}function Q(){return"undefined"!=typeof r&&null!==r&&"function"==typeof r.emit?function(e,t){return"unhandledRejection"===e?r.emit(e,t.value,t):r.emit(e,t)}:"undefined"!=typeof self&&"function"==typeof CustomEvent?function(e,t,n){var r=!1;try{var o=new n("unhandledRejection");r=o instanceof n}catch(e){}return r?function(e,r){var o=new n(e,{detail:{reason:r.value,key:r},bubbles:!1,cancelable:!0});return!t.dispatchEvent(o)}:e}(H,self,CustomEvent):H}var K=e.scheduler,Y=Q(),X=Object.create||function(e){function t(){}return t.prototype=e,new t};t.resolve=o,t.reject=i,t.never=s,t._defer=a,t._handler=m,t.prototype.then=function(e,t,n){var r=this._handler,o=r.join().state();if("function"!=typeof e&&o>0||"function"!=typeof t&&o<0)return new this.constructor(b,r);var i=this._beget(),s=i._handler;return r.chain(s,r.receiver,e,t,n),i},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype._beget=function(){return c(this._handler,this.constructor)},t.all=u,t.race=v,t._traverse=l,t._visitRemaining=d,b.prototype.when=b.prototype.become=b.prototype.notify=b.prototype.fail=b.prototype._unreport=b.prototype._report=H,b.prototype._state=0,b.prototype.state=function(){return this._state},b.prototype.join=function(){for(var e=this;void 0!==e.handler;)e=e.handler;return e},b.prototype.chain=function(e,t,n,r,o){this.when({resolver:e,receiver:t,fulfilled:n,rejected:r,progress:o})},b.prototype.visit=function(e,t,n,r){this.chain(W,e,t,n,r)},b.prototype.fold=function(e,t,n,r){this.when(new L(e,t,n,r))},G(b,x),x.prototype.become=function(e){e.fail()};var W=new x;G(b,C),C.prototype._state=0,C.prototype.resolve=function(e){this.become(m(e))},C.prototype.reject=function(e){this.resolved||this.become(new T(e))},C.prototype.join=function(){if(!this.resolved)return this;for(var e=this;void 0!==e.handler;)if(e=e.handler,e===this)return this.handler=N();return e},C.prototype.run=function(){var e=this.consumers,t=this.handler;this.handler=this.handler.join(),this.consumers=void 0;for(var n=0;n<e.length;++n)t.when(e[n])},C.prototype.become=function(e){this.resolved||(this.resolved=!0,this.handler=e,void 0!==this.consumers&&K.enqueue(this),void 0!==this.context&&e._report(this.context))},C.prototype.when=function(e){this.resolved?K.enqueue(new A(e,this.handler)):void 0===this.consumers?this.consumers=[e]:this.consumers.push(e)},C.prototype.notify=function(e){this.resolved||K.enqueue(new P(e,this))},C.prototype.fail=function(e){var t="undefined"==typeof e?this.context:e;this.resolved&&this.handler.join().fail(t)},C.prototype._report=function(e){this.resolved&&this.handler.join()._report(e)},C.prototype._unreport=function(){this.resolved&&this.handler.join()._unreport()},G(b,w),w.prototype.when=function(e){K.enqueue(new A(e,this))},w.prototype._report=function(e){this.join()._report(e)},w.prototype._unreport=function(){this.join()._unreport()},G(C,E),G(b,S),S.prototype._state=1,S.prototype.fold=function(e,t,n,r){D(e,t,this,n,r)},S.prototype.when=function(e){$(e.fulfilled,this,e.receiver,e.resolver)};var J=0;G(b,T),T.prototype._state=-1,T.prototype.fold=function(e,t,n,r){r.become(this)},T.prototype.when=function(e){"function"==typeof e.rejected&&this._unreport(),$(e.rejected,this,e.receiver,e.resolver)},T.prototype._report=function(e){K.afterQueue(new O(this,e))},T.prototype._unreport=function(){this.handled||(this.handled=!0,K.afterQueue(new R(this)))},T.prototype.fail=function(e){this.reported=!0,Y("unhandledRejection",this),t.onFatalRejection(this,void 0===e?this.context:e)},O.prototype.run=function(){this.rejection.handled||this.rejection.reported||(this.rejection.reported=!0,Y("unhandledRejection",this.rejection)||t.onPotentiallyUnhandledRejection(this.rejection,this.context))},R.prototype.run=function(){this.rejection.reported&&(Y("rejectionHandled",this.rejection)||t.onPotentiallyUnhandledRejectionHandled(this.rejection))},t.createContext=t.enterContext=t.exitContext=t.onPotentiallyUnhandledRejection=t.onPotentiallyUnhandledRejectionHandled=t.onFatalRejection=H;var Z=new b,ee=new t(b,Z);return A.prototype.run=function(){this.handler.join().when(this.continuation)},P.prototype.run=function(){var e=this.handler.consumers;if(void 0!==e)for(var t,n=0;n<e.length;++n)t=e[n],V(t.progress,this.value,this.handler,t.receiver,t.resolver)},k.prototype.run=function(){function e(e){r.resolve(e)}function t(e){r.reject(e)}function n(e){r.notify(e)}var r=this.resolver;j(this._then,this.thenable,e,t,n)},L.prototype.fulfilled=function(e){this.f.call(this.c,this.z,e,this.to)},L.prototype.rejected=function(e){this.to.reject(e)},L.prototype.progress=function(e){this.to.notify(e)},t}}.call(t,n,t,e),!(void 0!==o&&(e.exports=o))}(n(0))}).call(t,n(20))},function(e,t){e.exports=kolibriGlobal.coreVue.components.channelSwitcher},function(e,t){e.exports=kolibriGlobal.coreVue.components.coreBase},function(e,t){e.exports=kolibriGlobal.coreVue.components.progressIcon},function(e,t){e.exports=kolibriGlobal.coreVue.vuex.store},function(e,t){e.exports=kolibriGlobal.lib.conditionalPromise},function(e,t){e.exports=kolibriGlobal.lib.jscookie},function(e,t){e.exports=kolibriGlobal.lib.vuex},function(e,t){},function(e,t,n){var r=n(30),o=n(18),i=n(17),s=n(33),a=n(32),c=n(31),u=n(16),l=n(4).PageNames,p=["/reports",":channel_id",":content_scope",":content_scope_id",":user_scope",":user_scope_id",":all_or_recent",":view_by_content_or_learners",":sort_column",":sort_order"].join("/"),f=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.ready=function(){var e=this;o.getCurrentSession(u).then(function(){var t=[{name:l.REPORTS_NO_QUERY,path:"/reports",handler:function(e,t){c.redirectToDefaultReport(u,e.params)}},{name:l.REPORTS_CHANNEL,path:"/reports/:channel_id",handler:function(e,t){c.redirectToChannelReport(u,e.params)}},{name:l.REPORTS,path:p,handler:function(e,t){c.showReport(u,e.params,t.params)}},{name:l.CONTENT_UNAVAILABLE,path:"/content-unavailable",handler:function(e,t){c.showContentUnavailable(u)}},{path:"/",redirect:"/reports"},{path:"*",redirect:"/"}];e.rootvue=new s({el:"rootvue",render:function(e){return e(a)},router:i.init(t)})})},t}(r);e.exports=new f}]);